diff --git a/usr/examples/12-Thermopile-Shield/fir.py b/usr/examples/12-Thermopile-Shield/fir.py index 9e5d8593d..41138138e 100644 --- a/usr/examples/12-Thermopile-Shield/fir.py +++ b/usr/examples/12-Thermopile-Shield/fir.py @@ -47,8 +47,8 @@ while (True): # Draw ambient, min and max temperatures. image.draw_string(0, 0, "Ta: %0.2f"%ta, color = (0xFF, 0x00, 0x00)) - image.draw_string(0, 8, "To min: %0.2f"%(to_min+ta), color = (0xFF, 0x00, 0x00)) - image.draw_string(0, 16, "To max: %0.2f"%(to_max+ta), color = (0xFF, 0x00, 0x00)) + image.draw_string(0, 8, "To min: %0.2f"%to_min, color = (0xFF, 0x00, 0x00)) + image.draw_string(0, 16, "To max: %0.2f"%to_max, color = (0xFF, 0x00, 0x00)) # Print FPS. print(clock.fps()) diff --git a/usr/examples/12-Thermopile-Shield/fir_lcd.py b/usr/examples/12-Thermopile-Shield/fir_lcd.py index e3b0823cd..ef4a94acc 100644 --- a/usr/examples/12-Thermopile-Shield/fir_lcd.py +++ b/usr/examples/12-Thermopile-Shield/fir_lcd.py @@ -49,8 +49,8 @@ while(True): # Draw ambient, min and max temperatures. image.draw_string(0, 0, "Ta: %0.2f"%ta, color = (0xFF, 0x00, 0x00)) - image.draw_string(0, 8, "To min: %0.2f"%(to_min+ta), color = (0xFF, 0x00, 0x00)) - image.draw_string(0, 16, "To max: %0.2f"%(to_max+ta), color = (0xFF, 0x00, 0x00)) + image.draw_string(0, 8, "To min: %0.2f"%to_min, color = (0xFF, 0x00, 0x00)) + image.draw_string(0, 16, "To max: %0.2f"%to_max, color = (0xFF, 0x00, 0x00)) # Display image on LCD lcd.display(image) diff --git a/usr/examples/14-WiFi-Shield/mjpeg_streamer_fir.py b/usr/examples/14-WiFi-Shield/mjpeg_streamer_fir.py index 8cfe33711..25ccc3a05 100644 --- a/usr/examples/14-WiFi-Shield/mjpeg_streamer_fir.py +++ b/usr/examples/14-WiFi-Shield/mjpeg_streamer_fir.py @@ -74,8 +74,8 @@ while (True): # Draw ambient, min and max temperatures. image.draw_string(0, 0, "Ta: %0.2f"%ta, color = (0xFF, 0x00, 0x00)) - image.draw_string(0, 8, "To min: %0.2f"%(to_min+ta), color = (0xFF, 0x00, 0x00)) - image.draw_string(0, 16, "To max: %0.2f"%(to_max+ta), color = (0xFF, 0x00, 0x00)) + image.draw_string(0, 8, "To min: %0.2f"%to_min, color = (0xFF, 0x00, 0x00)) + image.draw_string(0, 16, "To max: %0.2f"%to_max, color = (0xFF, 0x00, 0x00)) client.send("\r\n--openmv\r\n" \