bhanu teja
/
combination
code including all sensors
Revision 2:a79a9c9f83a4, committed 2019-12-23
- Comitter:
- Glaxys_finest1
- Date:
- Mon Dec 23 14:45:38 2019 +0000
- Parent:
- 1:3463231e9c41
- Commit message:
- workin progress;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Nov 25 10:53:05 2019 +0000 +++ b/main.cpp Mon Dec 23 14:45:38 2019 +0000 @@ -129,7 +129,11 @@ Timer timer1,timer2; ////////////////////////////////function initializations///////////////////////////////// -void stop_counter(); + + +int main() +{ + void stop_counter(); void start_counter(); void counters_init(); @@ -144,10 +148,7 @@ void Mag_init(); void Mag_read(); -onestep.attach_us(&rt_OneStep(),100); - -int main() -{ +onestep.attach_us(&rt_OneStep,100); counters_init(); pc.baud(115200);