Closed ea7kir closed 1 year ago
My app contains packages (amongst others):
Package main calls host.Init(), because I assume it to be global. All works if I exclude package temperature, but when included I get this message:
Failed to open onewire: onewirereg: no bus found; did you forget to call Init()? exit status 1
This seams odd , because package voltamp is quite happy.
I also don't understand how to apply a one wire address. Your example uses and integer 23, but slaveID'S are strings, eg "28-3c01d607d440".
Your assistance will be much appreciated.
Raspberry Pi 4 with Pi )O 64bit
FYI:
Let's discuss on slack since this is a user support request.
My app contains packages (amongst others):
Package main calls host.Init(), because I assume it to be global. All works if I exclude package temperature, but when included I get this message:
Failed to open onewire: onewirereg: no bus found; did you forget to call Init()? exit status 1
This seams odd , because package voltamp is quite happy.
I also don't understand how to apply a one wire address. Your example uses and integer 23, but slaveID'S are strings, eg "28-3c01d607d440".
Your assistance will be much appreciated.
Raspberry Pi 4 with Pi )O 64bit
FYI: