update blinks

This commit is contained in:
Mariano Alvira 2010-02-23 18:19:38 -05:00
parent 8ca9a0269e
commit 95dccba797
5 changed files with 12 additions and 7 deletions

View file

@ -3,9 +3,8 @@
#define DELAY 400000
#define LED_BITS LED_RED
#define LED_BITS LED_BLUE
__attribute__ ((section ("startup")))
void main(void) {
volatile uint32_t i;

View file

@ -3,9 +3,8 @@
#define DELAY 400000
#define LED_BITS LED_RED
#define LED_BITS LED_GREEN
__attribute__ ((section ("startup")))
void main(void) {
volatile uint32_t i;

View file

@ -5,7 +5,6 @@
#define LED_BITS LED_RED
__attribute__ ((section ("startup")))
void main(void) {
volatile uint32_t i;

View file

@ -3,9 +3,8 @@
#define DELAY 400000
#define LED_BITS LED_RED
#define LED_BITS LED_WHITE
__attribute__ ((section ("startup")))
void main(void) {
volatile uint32_t i;

9
tests/led.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef LED_H
#define LED_H
#define LED_YELLOW (LED_RED | LED_GREEN )
#define LED_PURPLE (LED_RED | LED_BLUE)
#define LED_CYAN ( LED_GREEN | LED_BLUE)
#define LED_WHITE (LED_RED | LED_GREEN | LED_BLUE)
#endif