Line Length Limitations

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
Franklin97355
 
Posts: 23903
Joined: Mon Apr 21, 2008 2:33 pm

Re: Line Length Limitations

Post by Franklin97355 »

I don't understand what a valid name should be.
NUMBER_OF_LEDS is OK The line should read

Code: Select all

#define NUMBER_OF_LEDS 272
or

Code: Select all

#define NUMBER_OF_LEDS 272 // (NUMBER_OF_BANDS * LEDS_PER_BAND)
As Bill said the lack of comment mark makes the statement wrong and the compiler rejects it.

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

Return to “Arduino Starter Pack”