I am using an Adafruit Gamepad QT (ID 5743).
While diving into this Adafruit_Circuitpython_seesaw module I found that a remark in the file attinyx16.py,
lines 16-19 are not up-to-date. These lines contain currently the following text:
This class is automatically used by `adafruit_seesaw.seesaw.Seesaw` when
a ATtinyx16 Breakout (PID 5690, PID 5681) is detected.
It is also a reference for the capabilities of each pin.
however the code in file seesaw.py, class seesaw init() contains (also) these lines:
elif (pid in (_5690_PID, _5681_PID, _5743_PID)) or (
self.chip_id
in (_ATTINY816_HW_ID_CODE, _ATTINY806_HW_ID_CODE, _ATTINY1616_HW_ID_CODE)
so this code checks also for _5743_PID, which represents the Adafruit Gamepad QT board.
I suggest to change the lines 16-19 in file attinyx16.py into:
This class is automatically used by `adafruit_seesaw.seesaw.Seesaw` when
a ATtinyx16 Breakout (PID 5690, PID 5681, PID 5743) is detected.
It is also a reference for the capabilities of each pin.
I am using an
Adafruit Gamepad QT
(ID 5743). While diving into thisAdafruit_Circuitpython_seesaw
module I found that a remark in the fileattinyx16.py
, lines 16-19 are not up-to-date. These lines contain currently the following text:however the code in file
seesaw.py
, class seesaw init() contains (also) these lines:so this code checks also for
_5743_PID
, which represents the Adafruit Gamepad QT board.I suggest to change the lines 16-19 in file attinyx16.py into: