SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 Rust Avr Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
/* * For examples (and inspiration), head to * * https://github.com/Rahix/avr-hal/tree/main/examples * * NOTE: Not all examples were ported to all boards! There is a good chance though, that code * for a different board can be adapted for yours. The Arduino Uno currently has the most * examples available. */ #![no_std] #![no_main] use dht_sensor::*; use panic_halt as _; #[arduino_hal::entry] fn main() -> ! { let dp = arduino_hal::Peripherals::take().unwrap(); let pins = arduino_hal::pins!(dp); let mut serial = arduino_hal::default_serial!(dp, pins, 57200); let mut pin3 = pins.d3.into_opendrain_high(); let mut delay = arduino_hal::Delay::new(); ufmt::uwriteln!(serial, "{}", "waiting for sensor...").unwrap(); arduino_hal::delay_ms(2000); loop { match dht11::Reading::read(&mut delay, &mut pin3) { Ok(dht11::Reading { temperature, relative_humidity, }) => ufmt::uwriteln!(serial, "{}°, {}% RH", temperature, relative_humidity).unwrap(), Err(_e) => ufmt::uwriteln!(serial, "Error {}", "Unable to read").unwrap(), } arduino_hal::delay_ms(2000); } }
Rust Avr related posts
- AvrTester: write Rust-based tests for your AVR firmware! v0.2.1
- New crate "panic-serial": prints panic messages to a serial port on no_std targets
- not entirely new to rust, but very new to rust+arduino,.... eli5 the differences between these projects?
- Rust and arduino?
- Learning Embedded rust
- The coincidental typos compiled..
- How can I use Arduino's Ethernet library in Rust?
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source Avr projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | avr-hal | 1,183 |
2 | avr-device | 160 |
3 | avr-hal-template | 112 |
4 | chirp8-avr | 47 |
5 | async-avr | 33 |
6 | avr-tester | 19 |
Sponsored