update blinks
This commit is contained in:
parent
8ca9a0269e
commit
95dccba797
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#define LED_BITS LED_RED
|
||||
|
||||
__attribute__ ((section ("startup")))
|
||||
void main(void) {
|
||||
volatile uint32_t i;
|
||||
|
||||
|
|
|
@ -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
9
tests/led.h
Normal 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
|
Loading…
Reference in a new issue