crashtest-r0ket/firmware/l0dable/blink.c

16 lines
235 B
C
Raw Permalink Normal View History

#include <sysinit.h>
#include "basic/basic.h"
#include "usetable.h"
void ram(void){
2011-08-12 18:27:36 +00:00
char x = gpioGetValue(RB_LED1);
for (int x=0;x<20;x++){
gpioSetValue (RB_LED1, x%2);
delayms(50);
};
2011-08-12 18:27:36 +00:00
gpioSetValue (RB_LED1, x);
};