Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:f6f0d3ae86c9, committed 2018-06-08
- Comitter:
- FannyCalle
- Date:
- Fri Jun 08 21:35:21 2018 +0000
- Parent:
- 0:46f5737fe936
- Child:
- 2:d8487cc76ee2
- Commit message:
- modo stanby;
Changed in this revision
| SENSOR.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SENSOR.cpp Mon May 21 15:11:20 2018 +0000
+++ b/SENSOR.cpp Fri Jun 08 21:35:21 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];
@@ -35,6 +35,8 @@
Write(mag_MR,0x00);
printf("magnetometro listo\n");
// }
+
+ */
//******************************************************************************************************
}
uint16_t SENSOR::getUV()
@@ -48,6 +50,8 @@
uvi |= cmd[0];
return uvi;
}
+
+/*
char SENSOR::Read(char data)
{
char tx = data;
@@ -93,4 +97,5 @@
cmd[0]=Read(mag_DZRB);
magz |=cmd[0];
return magz;
-}
\ No newline at end of file
+}
+*/
\ No newline at end of file