Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eldruin/pcf857x-examples
Additional examples for the pcf857x crate using a PCF8574 and the STM32F3Discovery board
https://github.com/eldruin/pcf857x-examples
discovery-board embedded embedded-hal no-std pcf8574 rust stm32f3-discovery
Last synced: about 1 month ago
JSON representation
Additional examples for the pcf857x crate using a PCF8574 and the STM32F3Discovery board
- Host: GitHub
- URL: https://github.com/eldruin/pcf857x-examples
- Owner: eldruin
- License: apache-2.0
- Created: 2018-08-25T14:43:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-23T16:31:09.000Z (over 6 years ago)
- Last Synced: 2024-10-16T05:29:15.850Z (4 months ago)
- Topics: discovery-board, embedded, embedded-hal, no-std, pcf8574, rust, stm32f3-discovery
- Language: GDB
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Additional example programs for the [pcf857x] crate
[pcf857x]: https://crates.io/crates/pcf857x
This repository contains additional example programs using the PCF8574 I/O expander
with an STM32F3Discovery board.These examples require that you connect the PCF8574 device to the pins PB6 (SCL)
and PB7 (SDA) of the discovery board.For example, to run the caterpillar 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/pcf857x-f3-examples
cd pcf857x-f3-examples
cargo run --example caterpillar
```## License
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT) at your option.### Contributing
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.