Post by shaggy on Feb 9, 2021 12:41:30 GMT -8
Hello I am just testing my lightning detector for the moment and am unable to pull it up. I have 3 errors.
Error #1: in sudo i2cdetect -y 1
I get the following:
I get the following:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Error #2:
sudo python testLCD.py
Testing LCD ------
Traceback (most recent call last):
File "testLCD.py", line 8, in <module>
lcd.setText("Hello world\nThis is an LCD test")
File "/home/pi/SDL_Pi_ThunderBoard_IOT/grove_lcd.py", line 56, in setText
textCommand(0x01) # clear display
File "/home/pi/SDL_Pi_ThunderBoard_IOT/grove_lcd.py", line 52, in textCommand
bus.write_byte_data(DISPLAY_TEXT_ADDR,0x80,cmd)
IOError: [Errno 110] Connection timed out
Error #3:
sudo python testThunderBoard.py
Traceback (most recent call last):
File "testThunderBoard.py", line 2, in <module>
from SDL_Pi_Thunderboard_AS3935 import AS3935
File "/home/pi/SDL_Pi_ThunderBoard_IOT/SDL_Pi_Thunderboard_AS3935.py", line 207
def get_indoors(self):
^
IndentationError: unindent does not match any outer indentation level
No lights are lit up on the display of the lightning detector.
I am running Raspbian on my Pi 4 (8gig).
In raspberry pi configuration, under "interfaces" I have all but camera turned on.
I have redownloaded the "SDL_Pi_ThunderBoard_IOT" folder again and same problems.
Any suggestions on how to fix this?
Thanks,
shaggy