View Single Post
  #6   Spotlight this post!  
Unread 17-01-2014, 18:08
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 688
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: Programming Led Light Strips

#define DATA_PIN 11 //Green wire from AM-2640's power connector
#define CLOCK_PIN 13 //Blue wire from AM-2640's power connector


Check these; it might define the name with the number plus the comment. So CLOCK_PIN gets replaced with "13 //Blue wire from AM-2640's power connector". Do a printf of CLOCK_PIN to check.

Edit: Hmm, the #define on the arduino website seems to allow it, just don't use the end semicolon.

Last edited by Roger : 17-01-2014 at 18:23. Reason: because I can