@cah wrote:
The skywriter HAT was working a couple of weeks ago (Pi 3 Jessie patched up to date as of about middle of May), but in the meantime something awry as happened.
pi@raspberrypi:~/git/skywriter-hat/python/examples $ sudo ./test.py Traceback (most recent call last): File "./test.py", line 2, in <module> import skywriter File "/usr/local/lib/python2.7/dist-packages/skywriter.py", line 488, in <module> i2c.write_i2c_block_data(SW_ADDR, 0xa1, [0b00000000, 0b00011111, 0b00000000, 0b00011111]) IOError: [Errno 5] Input/output error Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/local/lib/python2.7/dist-packages/skywriter.py", line 479, in _exit stop_poll() TypeError: 'NoneType' object is not callable Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/local/lib/python2.7/dist-packages/skywriter.py", line 479, in _exit stop_poll() TypeError: 'NoneType' object is not callable
And i2cdetect isn't helpful:
pi@raspberrypi:~/git/skywriter-hat/python/examples $ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
I've tried the HAT with several different SD cards (with various combinations of updates).
Is this software or hardware? The HAT looks ok ...
Thanks.
Posts: 4
Participants: 2