code including all sensors

Dependencies:   LAAP AK8963

Files at this revision

API Documentation at this revision

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);