@ -79,17 +79,17 @@
*
*
* // Turn on each of the four LEDs in turn
* // Turn on each of the four LEDs in turn
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* _delay_ms ( 500 ) ;
* Delay_MS ( 500 ) ;
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* _delay_ms ( 500 ) ;
* Delay_MS ( 500 ) ;
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* _delay_ms ( 500 ) ;
* Delay_MS ( 500 ) ;
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* LEDs_SetAllLEDs ( LEDS_LED1 ) ;
* _delay_ms ( 500 ) ;
* Delay_MS ( 500 ) ;
*
*
* // Turn on all LEDs
* // Turn on all LEDs
* LEDs_SetAllLEDs ( LEDS_ALL_LEDS ) ;
* LEDs_SetAllLEDs ( LEDS_ALL_LEDS ) ;
* _delay_ms ( 1000 ) ;
* Delay_MS ( 1000 ) ;
*
*
* // Turn on LED 1, turn off LED 2, leaving LEDs 3 and 4 in their current state
* // Turn on LED 1, turn off LED 2, leaving LEDs 3 and 4 in their current state
* LEDs_ChangeLEDs ( ( LEDS_LED1 | LEDS_LED2 ) , LEDS_LED1 ) ;
* LEDs_ChangeLEDs ( ( LEDS_LED1 | LEDS_LED2 ) , LEDS_LED1 ) ;