You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i been trying to get the temp value from def pid_loop(dummy,state): but i dont get it to work. what values do i have to have in the dummy and state??
i trying to add a oled display and i get it to work when i call the sensor twice. but i get conflicts. so i need to get ether the sensor variable or tempc from def pid_loop
i made a def see below and that works but its in conflict with the pid_loop(dummy,state) def because i load the sensor twice
Hi
i been trying to get the temp value from def pid_loop(dummy,state): but i dont get it to work. what values do i have to have in the dummy and state??
i trying to add a oled display and i get it to work when i call the sensor twice. but i get conflicts. so i need to get ether the sensor variable or tempc from def pid_loop
i made a def see below and that works but its in conflict with the pid_loop(dummy,state) def because i load the sensor twice
def display():
spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)
cs = digitalio.DigitalInOut(board.D5)
sensor = adafruit_max31865.MAX31865(spi, cs)
tempc = sensor.temperature
hope some one could help me :)
best regards Mikael
The text was updated successfully, but these errors were encountered: