NeoPixel Lib Error in ESP.c missing binary operator before t

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
PrismSync
 
Posts: 1
Joined: Sun Jul 25, 2021 7:46 pm

NeoPixel Lib Error in ESP.c missing binary operator before t

Post by PrismSync »

Compiler (Arduino IDE 1.8.3 and 2.0 Beta) reports the error as shown in the attached picture, saying

`error: missing binary operator before token "("`

this shows up twice pointing at lines 100 and 128 of ESP.c

The programs tested include multiple examples in the library that previously worked, so I suspect the recent update of the library files, specifically the ESP.c might have introduced the error. To me it looks like a function call that shouldn't have an extra operator in that position, so could it be that some of the "define" had issues? Or have I missed any dependant files/libraries?

Thank you very much for your help!
Attachments
126916689-21781bf7-b19a-45ea-8246-6792b7329f73.png
126916689-21781bf7-b19a-45ea-8246-6792b7329f73.png (73.07 KiB) Viewed 387 times

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel Lib Error in ESP.c missing binary operator befo

Post by adafruit_support_carter »

Try updating to the latest Arduino 1.8.x release. Also make sure all your Board Support Packages are up to date.

What target board are you building for?

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”