jetsonhacks / JHPWMDriver

Adafruit 16 Channel Servo Driver for NVIDIA Jetson Development Kit
MIT License
26 stars 20 forks source link

error: ‘i2c_smbus_read_byte_data’ #4

Open Mukute opened 4 years ago

Mukute commented 4 years ago

hello, I'm using for the first time Jeston TX1, and I wanted to run the MIT racecar as your tutorial describe, but unfortunately I have this error " error: ‘i2c_smbus_write_byte_data’ was not declared in this scope int toReturn = i2c_smbus_write_byte_data(kI2CFileDescriptor, writeRegister, writeValue); ". my driver is PCA9685 and i've installed the i2c-tool. so I don't know is wrong done, I will really appreciate your help.

rdelfin commented 4 years ago

There seems to be a pull request that fixes the issue: https://github.com/jetsonhacks/JHPWMDriver/pull/2

It will break support for pre-16.04 though