![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First
Diff: main.cpp
- Revision:
- 3:824764571657
- Parent:
- 1:65ea8c2a0551
- Child:
- 4:aa5c976a8761
--- a/main.cpp Thu Jan 14 21:19:52 2016 +0000 +++ b/main.cpp Thu Jan 14 21:35:29 2016 +0000 @@ -1,8 +1,21 @@ #include "mbed.h" #include "LCD1.h" -int main() -{ +int x,y; + +int main() { + LCD_init(); + acc_init(); + while(1){ + + + + ifx>< + ify<> + LED1(x,y); + + + LCD_init(); while(1) {