![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First
main.cpp@4:aa5c976a8761, 2016-01-14 (annotated)
- Committer:
- asloop18
- Date:
- Thu Jan 14 21:36:29 2016 +0000
- Revision:
- 4:aa5c976a8761
- Parent:
- 3:824764571657
- Parent:
- 2:a88824178246
- Child:
- 6:459d1eb2cc23
merged acc base added;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pstephens18 | 0:f17efa877b15 | 1 | #include "mbed.h" |
pstephens18 | 1:65ea8c2a0551 | 2 | #include "LCD1.h" |
pstephens18 | 0:f17efa877b15 | 3 | |
asloop18 | 3:824764571657 | 4 | int x,y; |
asloop18 | 3:824764571657 | 5 | |
asloop18 | 3:824764571657 | 6 | int main() { |
asloop18 | 3:824764571657 | 7 | LCD_init(); |
asloop18 | 3:824764571657 | 8 | acc_init(); |
asloop18 | 3:824764571657 | 9 | while(1){ |
asloop18 | 3:824764571657 | 10 | |
asloop18 | 3:824764571657 | 11 | |
asloop18 | 3:824764571657 | 12 | |
asloop18 | 3:824764571657 | 13 | ifx>< |
asloop18 | 3:824764571657 | 14 | ify<> |
asloop18 | 3:824764571657 | 15 | LED1(x,y); |
asloop18 | 3:824764571657 | 16 | |
asloop18 | 3:824764571657 | 17 | |
asloop18 | 3:824764571657 | 18 | |
pstephens18 | 0:f17efa877b15 | 19 | LCD_init(); |
pstephens18 | 0:f17efa877b15 | 20 | while(1) |
pstephens18 | 0:f17efa877b15 | 21 | { |
pstephens18 | 2:a88824178246 | 22 | LCD1(160,120); |
pstephens18 | 0:f17efa877b15 | 23 | } |
pstephens18 | 0:f17efa877b15 | 24 | } |