teste coragem
Diff: source/main.cpp
- Revision:
- 21:6cf50085f9f3
- Parent:
- 20:86417f956e22
- Child:
- 22:f3af2192b3ff
diff -r 86417f956e22 -r 6cf50085f9f3 source/main.cpp --- 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; }