mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-11 03:29:51 +00:00
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…
x
Reference in New Issue
Block a user