Raspberry Pi - SPI Communication
Identify the error in this code snippet that reads from channel 1:
def read_sensor():
value = read_adc[1]
return value
print(read_sensor())