This commit is contained in:
dherrada 2021-08-20 15:01:47 -04:00
parent 0c7a3edb84
commit 61f70bc1e2
4 changed files with 7 additions and 7 deletions

View file

@ -109,7 +109,7 @@ def show_singularities():
try:
x, y = s[1]
bitmap[round(x), round(y)] = 1
except:
except: # pylint: disable=bare-except
pass # just don't draw it
def show_streamlines():
@ -125,7 +125,7 @@ def show_streamlines():
bitmap[round(x), round(y)] = 3
# draw head
bitmap[round(x), round(y)] = 2
except:
except: # pylint: disable=bare-except
pass # just don't draw it
def animate_streamlines():

View file

@ -102,7 +102,7 @@ def show_solids():
try:
x, y = s
bitmap[round(x), round(y)] = 1
except:
except: # pylint: disable=bare-except
pass # just don't draw it
def show_streamlines():
@ -118,7 +118,7 @@ def show_streamlines():
bitmap[round(x), round(y)] = 3
# draw head
bitmap[round(x), round(y)] = 2
except:
except: # pylint: disable=bare-except
pass # just don't draw it
def animate_streamlines():

View file

@ -1,8 +1,8 @@
import time
import sys
import board
import busio
import digitalio
import sys
from adafruit_mcp9600 import MCP9600
SENSOR_ADDR = 0X67

View file

@ -67,9 +67,9 @@ def message(client, feed_id, payload):
def on_alarm(client, feed_id, payload):
global ALARM
global ALARM # pylint: disable=global-statement
print(payload)
ALARM = eval(payload)
ALARM = eval(payload) # pylint: disable=eval-used
# Create a socket pool