sensor UV VEML6070, y magnetometro GY 273

Dependents:   OBC3_1_h

Files at this revision

API Documentation at this revision

Comitter:
FannyCalle
Date:
Tue Jun 26 15:12:33 2018 +0000
Parent:
1:f6f0d3ae86c9
Commit message:
areglada la trama ; falta magne;

Changed in this revision

SENSOR.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f6f0d3ae86c9 -r d8487cc76ee2 SENSOR.cpp
--- a/SENSOR.cpp	Fri Jun 08 21:35:21 2018 +0000
+++ b/SENSOR.cpp	Tue Jun 26 15:12:33 2018 +0000
@@ -19,7 +19,7 @@
     wait_ms(200);
     // configuracion del magnetometro
     //cmd[0]=mag_IDENT_A;
-    /*
+    
     cmd[0]=Read(mag_IDENT_A);
     printf("...%d...",cmd[0]);
     int iden=cmd[0];
@@ -36,7 +36,7 @@
         printf("magnetometro listo\n");       
   //    }
   
-  */
+  
     //******************************************************************************************************
 }
 uint16_t SENSOR::getUV()
@@ -51,7 +51,7 @@
     return uvi;
 }
 
-/*
+
 char SENSOR::Read(char data)
 {
     char tx = data;
@@ -98,4 +98,3 @@
     magz |=cmd[0];
     return magz;
 }
-*/
\ No newline at end of file