teste coragem
Revision 21:6cf50085f9f3, committed 2019-07-10
- Comitter:
- pancotinho
- Date:
- Wed Jul 10 17:55:38 2019 +0000
- Parent:
- 20:86417f956e22
- Child:
- 22:f3af2192b3ff
- Commit message:
- teste BLE coragem
Changed in this revision
source/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/main.cpp Wed Jul 10 17:50:57 2019 +0000 +++ b/source/main.cpp Wed Jul 10 17:55:38 2019 +0000 @@ -269,7 +269,7 @@ //Print the current UV index printf("UV index = %.3f\n", (float)sensor_light.get_uv_index()); //Sleep for 0.5 seconds - count= static_cast<uint8_t>(sensor_light.get_light_level()); + count= (uint8_t)sensor_light.get_light_level(); _actuated_led = !_actuated_led; }