MrYsLab / pymata4

A High Performance Python Client For Arduino Firmata
GNU Affero General Public License v3.0
76 stars 30 forks source link

Feature request: SPI communications #37

Closed Celldom-Han closed 2 years ago

Celldom-Han commented 2 years ago

I'm using an Arduino MKR WIFI 1010, with the Arduino MKR Therm Shield.

The shield takes a K type thermocouple, conditions the signal with a MAX31855 IC, and then uses SPI to communicate temperature information between the IC and the MKR board.

Problem: the pymata4 library doesn't seem to have SPI support, only I2C. (Please correct me if I'm wrong.)

Therefore, I cannot use pymata4 to control this sensor and similar devices. I'm wondering if it's possible to add SPI support into the library, or if there's some technical details that make it very difficult/impossible?

MrYsLab commented 2 years ago

I replied to your email with more detail. Essentially, I will not implement SPI support here, but I may provide it in my Telemetrix project. The sketch that supports pymata4 (FirmataExpress) is pretty much out of space for adding new features.