I still cant get the code to work. Here is what I have
I dont know if this helps but the HAT I am trying to attatch is the MCC-118 from Measurement Computing Corporation. When I try to run the code I get these error messages:
Code: Select all
from sense_hat import SenseHat from datetime import datetime sense = SenseHat() def get_sense_data(): sense_data =  return sense_data datetime.now() while True: print(get_sense_data()) dtoverlay=rpi-sense
Traceback (most recent call last):
File "/home/pi/Desktop/DAQ HAT.py", line 3, in <module>
sense = SenseHat()
File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 39, in __init__
raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device.
I read through a forum that I was directed to but since I dont have much coding experience, it was hard for me to get anything from it. The forum is here: https://www.raspberrypi.org/forums/view ... p?t=173113
Any help is appreciated. Thanks!