Closed
Description
Tested a DS18B20 temperature sensor (with the appropriate resistor) on a Feather S2 and other boards (like Feather M0 express) and the device is not found on the S2. I think I correctly checked it's connected to the right pin (it throws an error otherwise).
Feather S2:
import board
from adafruit_onewire.bus import OneWireBus
ow_bus = OneWireBus(board.IO17)
devices = ow_bus.scan()
print("Devices:",devices)
code.py output:
Devices: []
Feather M0 Express
import board
from adafruit_onewire.bus import OneWireBus
ow_bus = OneWireBus(board.A0)
devices = ow_bus.scan()
print("Devices:",devices)
code.py output:
Devices: [<OneWireAddress object at 20001b20>]