Loading...
Searching...
No Matches

The green (D1) and red (D2) LEDs on D6 and D5. More...

Classes

class  Led
 One of the shield's LEDs, D1 (green) or D2 (red). More...

Variables

 green_led = Led("D6")
 The green LED, D1 on the shield, on pin D6: a Led object.
 red_led = Led("D5")
 The red LED, D2 on the shield, on pin D5: a Led object.

Detailed Description

The green (D1) and red (D2) LEDs on D6 and D5.

Each LED runs from VIO (JP3) through 1 kOhm to its pin, so it lights when the pin is low. green_led and red_led take care of that: on() drives the pin low. The third LED, D3 (red), is a power light on VIO and can't be switched.