Search found 1 match
Search found 1 match • Page 1 of 1
- Fri Jan 17, 2020 11:37 pm
- Forum: Software
- Topic: Use LoP-Parameters with PureData
- Replies: 4
- Views: 10094
I was able to get the code working on more modern hardware with a bit of massaging :) also be sure to actually solder the pots in. import time import spidev spi_ch = 0 # Enable SPI spi = spidev.SpiDev(0, spi_ch) spi.max_speed_hz = 1200000 def read_adc(channel, vref = 3.3): if channel > 7 or channel ...