Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understanding i2c addresses for motor (PWM) control #7

Open
Karthik-d-k opened this issue Aug 22, 2023 · 0 comments
Open

Understanding i2c addresses for motor (PWM) control #7

Karthik-d-k opened this issue Aug 22, 2023 · 0 comments

Comments

@Karthik-d-k
Copy link

Dear Team,

We are trying to use PiCar-X kit with Rust programming language instead of python for autonomous driving.
We were able to establish i2c communication, but we are not able to run motors using rppal crate, because this library uses hardware PWM channels provided by Raspberry Pi.
So our question is, how exactly PWM pulses are generated (Software or Hardware) and what are the significance of memory addresses used for writing period, prescaler and pulse-width, which would help us in creating the correct interface via Rust.
Our Repo is here --> picars.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant