##// END OF EJS Templates
Added Oplayer BSP, Fixed bug on GPIO library(gpiosetval change all the port...
Added Oplayer BSP, Fixed bug on GPIO library(gpiosetval change all the port instead of the desired bit).

File last commit:

r18:bd9ab647f70a default
r60:17402611bd25 dev_alexis
Show More
main.c
30 lines | 473 B | text/x-c | CLexer
#include <bsp.h>
int main()
{
while(1)
{
for(volatile int i=0;i<1024*1024;i++);
GREENLEDON;
ORANGELEDOFF;
REDLEDOFF;
BLUELEDOFF;
for(volatile int i=0;i<1024*1024;i++);
GREENLEDOFF;
ORANGELEDON;
REDLEDOFF;
BLUELEDOFF;
for(volatile int i=0;i<1024*1024;i++);
GREENLEDOFF;
ORANGELEDOFF;
REDLEDON;
BLUELEDOFF;
for(volatile int i=0;i<1024*1024;i++);
GREENLEDOFF;
ORANGELEDOFF;
REDLEDOFF;
BLUELEDON;
}
}