Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hi
I use Raspberry Pi3 with newest Codesys V3.5 SP12 Patch 2. I updated all librarys.
I try to make communication witch PCA9685 pcb, using Adafruit PWM library and servo connected to channel 0. I don't use any shortcircuit in address pads, so address is 0.
I open "I2C example", compile and send to RPi, and nothing- servo doesnt run. In next step, I open SoftMotion Servo Example, compile and send to RPi and servo is running. But I don't understand how this program refer to Adafruit PWM library.
Why "I2C example" doesn't work with servo? Maybe, I have to make some additional configurations in codesys?
Could anybody can send, working example for RPi3, for servo connected to channel 0 (FBD will be best).
Thanks for any response.
Best regards.
Łukasz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally created by: ŁukaszPowała
Hi
I use Raspberry Pi3 with newest Codesys V3.5 SP12 Patch 2. I updated all librarys.
I try to make communication witch PCA9685 pcb, using Adafruit PWM library and servo connected to channel 0. I don't use any shortcircuit in address pads, so address is 0.
I open "I2C example", compile and send to RPi, and nothing- servo doesnt run. In next step, I open SoftMotion Servo Example, compile and send to RPi and servo is running. But I don't understand how this program refer to Adafruit PWM library.
Why "I2C example" doesn't work with servo? Maybe, I have to make some additional configurations in codesys?
Could anybody can send, working example for RPi3, for servo connected to channel 0 (FBD will be best).
Thanks for any response.
Best regards.
Łukasz
Hi,
attached the example - FBD
BR
Edwin
AdaFruitFBD.project [58.66 KiB]