Additional example programs for the pwm-pca9685 crate
This repository contains additional example programs using the PCA9685 I2C PWM/Servo/LED controller with an STM32F3Discovery board.
These examples expect that you connect the PCA9685 device to the pins PB6 (SCL) and PB7 (SDA) of the discovery board.
For example, to run the f3-servos example: First, connect your discovery board per USB, then connect OpenOCD in a terminal with:
openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg
Then on another terminal run:
git clone https://github.com/eldruin/pca9685-examples
cd pca9685-examples
cargo run --example f3-servos
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.