Lukas Seyfrid
/
akcelerometer
Diff: main.cpp
- Revision:
- 3:8a883ca891f8
- Parent:
- 2:d7a2f1290ed6
- Child:
- 4:9100bf042c3b
--- a/main.cpp Mon Oct 16 14:43:38 2017 +0000 +++ b/main.cpp Mon Oct 16 14:45:50 2017 +0000 @@ -28,13 +28,13 @@ terminal.printf("%1.2f, %1.2f, %1.2f,\n\r", xAxis, yAxis, zAxis); - } +} int main(void) { - + t.start(); - t.reset() + t.reset(); while(1){ begin = t.read_us(); if(begin == 1250) @@ -42,8 +42,9 @@ read(); t.reset(); } - } +} - } + +