uraimo / MCP3008.swift

A Swift library for the MCP3008 (and MCP3002,MCP3004) 10 bits SPI ADC
Other
4 stars 1 forks source link

Couldn't send spi message: Message too long #3

Closed rjo closed 2 years ago

rjo commented 2 years ago

Trying to run the example on a Pi 3B yields this error.

uraimo commented 2 years ago

Try this https://github.com/lukevanhorn/Lepton3/issues/4 More: https://forums.raspberrypi.com/viewtopic.php?p=837140

It's an issue with the SPI buffer size, no idea if they changed the default recently.

rjo commented 2 years ago

I had a feeling I should not have upgraded the OS on this board. Thanks.