Just got the Particle Agent running on my Pi 3. Installation went smoothly but then…
- The Getting Started Examples “Blink an LED” Frizting diagram under the SETUP section shows D0 wired to the resistor and LED. But…
- In code, D0 actually maps to the green LED next to the red power LED on a RPi 3
- D7 is what the Data Sheet “Interfaces” PERIPHERALS AND GPIO section and the comments in the “Blink an LED” CODE section say is the little green LED. D7, as the pinout chart in the Data Sheet show, maps to the physical pin number 35. In code D7 does not control the green led on the Pi. It controls pin 35.
Am I bonkers or is that documentation wrong?
I’m using the Adafruit Pi Cobbler on a breadboard.
Here is my set up for “Control LEDs over the 'net”, which is working. In code, D7 turns this LED on and off and D0 turns the green LED on and off. I commented D0 out to verify that it was turning the green LED on and off:
I thought maybe my ribbon cable was turned around, but I don’t believe that is the case: