Franz Pucher / Bertl

Dependencies:   HCSR

Dependents:   bertl_led bertl_led bertl_led bertl_led ... more

Fork of Bertl by Bertl_Team_PE

You are viewing an older revision! See the latest version

Leds

Inhalt

Methoden:

  1. TurnLedOn(LED_BL1) und TurnLedOff(LED_BL1)
  2. NibbleLeds(0x0F)
  3. BlueLedsON() und BlueLedsOFF()
  4. RGBLed(1,1,1) mit (red, green, blue)

/media/uploads/fpucher/berl_leds_description.jpg

Konstante: <<code>> const int LED_FL1 = 0x01; /< front LED white */ const int LED_FL2 = 0x02; /< front LED yellow */ const int LED_FR1 = 0x04; /< front LED white */ const int LED_FR2 = 0x08; /< front LED yellow */ const int LED_ALL_FRONT = 0x0F;

const int LED_BL1 = 0x20; /< yellow LED back left outer */ const int LED_BL2 = 0x10; /< red LED back left inner */ const int LED_BR1 = 0x80; /< yellow LED back right outer*/ const int LED_BR2 = 0x40; /< red LED back right inner */ const int LED_ALL_BACK = 0xF0;

const int LED_ALL = 0xFF; const int LED_BLUE = 0xBB; <<code>>

Buttons


All wikipages