An Arduino API that sits on top of Linux and other operating systems. This lets you run Arduino code on Raspberry PI, desktops, etc... All as a standard user-space application.
GNU Lesser General Public License v2.1
22
stars
11
forks
source link
Add a HardwareSPI constructor that can specify the proper spidev #24
Arduino allows constructing the HardwareSPI class with a int, to specify the host SPI. We can split that 8-bit value into two 4-bit values, to specify spidevX.Y.
Arduino allows constructing the HardwareSPI class with a int, to specify the host SPI. We can split that 8-bit value into two 4-bit values, to specify spidevX.Y.