Got it now, the links you posted helped.
The problem surrounded around the variable that I stored the result of ow.scan() becoming a list object that resulted in errors when I tried to convert it, so I needed to copy the array to another variable. Once that was done, I was able to use int.from_bytes and I got an integer output!
Code: Select all
from machine import Pin
import onewire
dw onewire.OneWire(Pin(0))
data = ow.scan()
data2=data[0]
int.from_bytes(data2, 'big')
Now I want to find how to store data on it (the datasheet states it has 2KB of storage)