Skip to content

Rust examples of using an APDS9960 proximity/light/RGB/gesture sensor with the apds9960 crate

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

eldruin/apds9960-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Additional example programs for the apds9960 crate Build Status

This repository contains additional example programs using the APDS9960 I2C temperature sensor with an STM32F3Discovery board.

These examples expect that you connect the APDS9960 device to the pins PB6 (SCL) and PB7 (SDA) of the discovery board.

For example, to run the f3-proximity-display 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/apds9960-examples
cd apds9960-examples
cargo run --example f3-proximity-display

License

Licensed under either of

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.

About

Rust examples of using an APDS9960 proximity/light/RGB/gesture sensor with the apds9960 crate

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages