Ultraborg not working after an update
Forums:
Hi.
I upgraded, now showing version 8.0. Ultraborg.py not working any more. Although by 'c' programs are working as before. Both controlling servo's.
Output from Python:
Loading UltraBorg on bus 1, address 36
Missing UltraBorg at 36
UltraBorg was not found
Trying bus 0 instead
Loading UltraBorg on bus 0, address 36
Traceback (most recent call last):
File "./test.py", line 9, in
UB1.Init()
File "/home/pi/ultraborg/UltraBorg.py", line 294, in Init
self.Init(False)
File "/home/pi/ultraborg/UltraBorg.py", line 264, in Init
self.bus = smbus.SMBus(self.busNumber)
IOError: [Errno 2] No such file or directory
My board is on address 36 or my 'c' code would not work. Any ideas?
Thanks,
Ben.
piborg
Tue, 06/13/2017 - 18:31
Permalink
Updated UltraBorg library
We have seen this problem a fair amount now, basically the I2C driver has changed slightly in recent versions of Raspbian and the change stops the library from working correctly.
Not to worry though, we have already fixed the problem and released an updated version of the UltraBorg library that fixes the issue :)
Check out this forum post for instructions to update the library to the new improved version: UltraBorg library fix.
benclewett
Wed, 06/14/2017 - 20:44
Permalink
Works for me, thanks.
Works for me, thanks.