added a loadable with functions

This commit is contained in:
schneider 2011-07-07 18:28:07 +02:00
parent a534cb9215
commit e7adf388bf
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#include <sysinit.h>
#include "basic/basic.h"
void ram(void);
void setLED(int i);
void ram(void){
for (int x=0;x<20;x++){
setLED(x);
delayms(50);
};
};
void setLED(int i)
{
gpioSetValue (RB_LED1, i%2);
}