Update hot.py
make travis happy
@@ -9,7 +9,7 @@ print("Heating Pad Demo")
pixels = neopixel.NeoPixel(board.NEOPIXEL, 10, auto_write=False)
def show_value(heat_val): # Show throttle on NeoPixels on CPX
- num_pixels = int(10 * heat_val)
+ num_pixels = int(10 * (heat_val + 0.002))
for i in range(num_pixels):
pixels[i] = (10*(i+1), 0, 0)
for i in range(num_pixels, 10):
