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.
Dependencies: X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed
Diff: sensor.cpp
- Revision:
- 19:3a6bb28892e1
- Parent:
- 14:80348de07068
- Child:
- 20:014a808b3ea2
--- a/sensor.cpp Tue May 17 13:53:24 2016 +0000 +++ b/sensor.cpp Tue May 17 18:07:16 2016 +0000 @@ -84,6 +84,8 @@ uint8_t id; printf("Initialising expansion board...\n\r"); + + /* humidity_sensor->ReadID(&id); printf("No error"); //Debug para ver se o erro e na linha anterior ou no id mesmo printf("HTS221 humidity & temperature = %d\r\n", id); //Testa essa usando %d ao em vez de Hex @@ -95,5 +97,7 @@ gyroscope->ReadID(&id); printf("LSM6DS0 accelerometer & gyroscope = %d\r\n\n", id); //printf("LSM6DS0 accelerometer & gyroscope = 0x%X\r\n\n", *id); + + */ } \ No newline at end of file