I'm trying to achieve a similar effect (fade from white to dark), but having trouble with these examples. Notably the last one where it's suggested to replace everything in void loop in one of the example sketches included with the NeoPixel library (I'm using the strandtest example, which works beautifully when unedited) throws up this error with the code above:
- Code: Select all
'color' was not defined in this scope
strandtest.pde: In function 'void loop()':
strandtest:24: error: 'color' was not declared in this scope
Kind of rusty with Arduino, any ideas?