Documentation ¶ Index ¶ Constants type LED func (d LED) Get() int func (d LED) Pin() gpio.Pin func (d LED) Set(on int) func (d LED) SetOff() func (d LED) SetOn() Constants ¶ View Source const ( LD1 LED = 0x06 // P0.06 LD2R LED = 0x08 // P0.08 LD2G LED = 0x19 // P1.09 LD2B LED = 0x0C // P0.12 User = LD1 Red = LD2R Green = LD2G Blue = LD2B ) Onboard LEDs Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type LED ¶ type LED uint8 func (LED) Get ¶ func (d LED) Get() int func (LED) Pin ¶ func (d LED) Pin() gpio.Pin func (LED) Set ¶ func (d LED) Set(on int) func (LED) SetOff ¶ func (d LED) SetOff() func (LED) SetOn ¶ func (d LED) SetOn() Source Files ¶ View all Source files led.go Click to show internal directories. Click to hide internal directories.