I just bought an Electric Imp and i was trying to set it up for the first time. I was able to set it all up and register the device in my account. However i am facing a little problem.
I copied the sample blink code to the IDE and hit the build button (although i see a lot of references to “build and run”, mine only says build). A message saying the code was successfully saved appears, but nothing happens with the LED (yes i made sure the led was in the correct port and everything). Any suggestions?
Thanks so much,
Okay, figured out issue #1 (above^) - although no errors returned indicating that the device I referenced was incorrect (I have 2), when I switched out my breakout board the board responded! Hurdle one, over.
Hurdle two: It turns out that I have a common ANODE RGB LED, not a common CATHODE RGB (RadioShack’s packaging for 276-0028 High Brightness Full-Color LED packaging providing no guidance whatsoever, tyvm). When I changed the 4th pin connection from GND to 3v3 the program worked well … with the exception that ledsOff() turns off the lone red led but leaves the RGB LED powered on. What’s the correct syntax for turning all three values of the RGB to 0/off for a common anode rgb?
I wired up the Web Control (Request) project and copied the code into the IDE, and both the check() and Build & Run() steps appear to work fine. When I attempt to connect via my agent URL, though, I get back ‘No HTTP Handler’ as a response. I copied the URL from my IDE, matched case (‘?led=1’ vs. ‘?LED=1’) on the parameter, but nada.
What’s the best way to troubleshoot what the issue might be?
If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!
Forgot your password?
No account? Register one!