Closed caternuson closed 4 years ago
we could move this library to use BusIO - will solve any side-effects?
Moving SPI.beginTransaction()
before the CS assert seems to work as well. But might as well move to BusIO? watcha think?
nvm. wasn't too hard to swap to busio, totes the way to go. pr'd.
i think lets just move it - will fix various issues and make code a lot more future proof! also good practice for ya :)
Re these threads: https://forums.adafruit.com/viewtopic.php?f=57&t=160689 https://forums.adafruit.com/viewtopic.php?f=57&t=137134
Recreated.
Appears to be related to toggling of the clock line from![image](https://user-images.githubusercontent.com/8755041/72289996-231a1300-3601-11ea-89a4-af08ff128fe0.png)
SPI.beginTransaction()
which causes the MAX31855 to start clocking out data. Shows up in data as an off-by-one. Feather M0:Not present on an UNO:![image](https://user-images.githubusercontent.com/8755041/72289973-1695ba80-3601-11ea-8951-e753a51dc233.png)