I am trying again to see if I can adapt and use the imp, however I have been struggling. With the new IDE I decided to try again. So I did the example in the getting started which lets me turn on or off an led over the net. Super excited, it works!!! http://electricimp.com/docs/gettingstarted/3-agents/. However I am trying to understand why it would be backwards. According to the documentsation and from my understanding of the code, 1=On and 0=off! But its backwards for me. 1=Off and 0=On. Why would that be? I copied and pasted the example code exactly.
I figured it out, there is a problem with the example doc. The image does not match the instructions. See:
Image
Instructions:
Connect the positive (long) lead of the LED to the 3v3 pin of the imp.
Connect the negative (short) lead of the LED to one end of a 330Ω resistor.
Connect the other end of the 330Ω resistor to pin9 of the imp.