I am running Ubuntu 22.04LTS in order to use ROS-humble on my RPi, however I am running into some issues. How do I configure the GPIO pins and also is there some things that I should note. I plan on using PCA9685 with is a pwm expansion which uses i2c to communicate.
I used this resource so far https://ubuntu.com/tutorials/gpio-on-raspberry-pi#1-overview
but I am not sure if this would solve my issue. I really just need someone to tell/show me a good example on how to set this up.
Essentially, all I want is to configure my GPIO pins. Is there anything I need to do prior ie install libraries? Or should I be good to go from the get go. I am only asking this because I always run in to package issues when trying to program the PCA9685.