Ultraborg not working after an update



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
File "/home/pi/ultraborg/UltraBorg.py", line 294, in Init
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?



piborg's picture

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.

Works for me, thanks.

Subscribe to Comments for "Ultraborg not working after an update"