There is no USPS pickup on Monday Feb 15th, 2016 because of President's Day. USPS orders placed after 11am EST Fri February 12th will go out Tuesday February 16. UPS orders will ship as normal.

Digital RGB LED strip trouble with Netduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Digital RGB LED strip trouble with Netduino

by JammerX19 on Wed Dec 05, 2012 9:16 pm

I am following this tutorial: http://wiki.netduino.com/AdaFruit-Digit ... D8806.ashx

Even when I copy/paste their code into my Netduino, I cannot target an individual LED correctly. Their example is supposed to light only the 21st LED but when I run it, the 21st LED is yellow and the 22nd is green. Has anyone ever seen this problem?

I'm running a 1m strip that I assembled from the adafruit tutorial and a standard Netduino.
JammerX19
 
Posts: 11
Joined: Wed Dec 17, 2008 10:49 pm

Re: Digital RGB LED strip trouble with Netduino

by tldr on Wed Dec 05, 2012 10:30 pm

here's your trouble.

Code: Select all | TOGGLE FULL SIZE
leds[21 * 3 + 3] = 0x80 | 32;  //21-blue = some value


should be 21 * 3 + 2.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Digital RGB LED strip trouble with Netduino

by JammerX19 on Wed Dec 05, 2012 10:44 pm

Yeah, I caught that right after I posted it. :cry:
JammerX19
 
Posts: 11
Joined: Wed Dec 17, 2008 10:49 pm

Please be positive and constructive with your questions and comments.