##// END OF EJS Templates
Added ARM CMSIS for fast math and circle drawing function for ili9328 driver.
Added ARM CMSIS for fast math and circle drawing function for ili9328 driver.

File last commit:

r18:bd9ab647f70a default
r41:27c5438a4566 dev_alexis
Show More
main.c
24 lines | 476 B | text/x-c | CLexer
jeandet@pc-de-jeandet3.lab-lpp.local
Cleaned source tree....
r16 #include <bsp.h>
#include <gpio.h>
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 #include <spi.h>
jeandet@pc-de-jeandet3.lab-lpp.local
Cleaned source tree....
r16
int main()
{
bsp_init();
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 gpio_t gpio1 = gpioopen(PD12);//gpioopen(LED1); //PD9 D=> 0x0300 9 => 0x0009
gpio_t gpio2 = gpioopen(PD13);//gpioopen(LED2);
gpiosetdir(&gpio1,gpiooutdir);
gpiosetdir(&gpio2,gpiooutdir);
jeandet@pc-de-jeandet3.lab-lpp.local
Cleaned source tree....
r16
while(1)
{
for(volatile int i=0;i<1024*1024*4;i++);
gpioset(gpio1);
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 gpioclr(gpio2);
jeandet@pc-de-jeandet3.lab-lpp.local
Cleaned source tree....
r16 for(volatile int i=0;i<1024*1024*16;i++);
gpioclr(gpio1);
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 gpioset(gpio2);
jeandet@pc-de-jeandet3.lab-lpp.local
Cleaned source tree....
r16 }
}