Tag Archives: interfaces

Raspberry PI I2C and SPI

Raspberry PI I2C and SPI

I2C

"scripts": {
  "preinstall": "bash deps.sh",
  "start": "modprobe i2c-dev && node app.js"
}

CMD modprobe i2c-dev && python /app/demo.py

SPI

dtparam=spi=on