0

Line Length Limitations
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Line Length Limitations

by franklin97355 on Fri May 05, 2017 8:32 pm

I don't understand what a valid name should be.
NUMBER_OF_LEDS is OK The line should read
Code: Select all | TOGGLE FULL SIZE
#define NUMBER_OF_LEDS 272
or
Code: Select all | TOGGLE FULL SIZE
#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.

franklin97355
 
Posts: 16864
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Please be positive and constructive with your questions and comments.