Search found 1 match

by JeffAvery
Fri Jan 17, 2020 11:37 pm
Forum: Software
Topic: Use LoP-Parameters with PureData
Replies: 4
Views: 20028

Re: Use LoP-Parameters with PureData

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 ...