Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mogenson/udoo-display
Print USB serial data to an OLED display using Rust and AVR-C
https://github.com/mogenson/udoo-display
avr rust rust-embedded udoo
Last synced: about 2 months ago
JSON representation
Print USB serial data to an OLED display using Rust and AVR-C
- Host: GitHub
- URL: https://github.com/mogenson/udoo-display
- Owner: mogenson
- Created: 2020-09-25T18:37:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-12T14:58:52.000Z (over 4 years ago)
- Last Synced: 2024-10-25T05:10:30.543Z (3 months ago)
- Topics: avr, rust, rust-embedded, udoo
- Language: Rust
- Homepage:
- Size: 98.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UDOO Display
Using the embedded atmega32u4 in an [UDOO Bolt Gear](https://www.udoo.org/udooboltgear), display text received over a USB serial interface on an [SSD1306 OLED screen](https://www.dfrobot.com/product-2018.html).
![udoo](./udoo.jpg)
Main application logic and display driver is written in Rust. USB serial implementation uses the [atmega32u4-usb-serial](https://github.com/mogenson/atmega32u4-usb-serial) crate.
Run `cargo make build` to compile and `cargo make flash` to upload.
Write data to serial port to display on the screen. For example: `ip addr | grep -Po '(?<=inet)\s(?!127)[^/]+' > /dev/ttyACM0`, to show the current IP address. Write a null character to clear screen: `echo -ne '\0' > /dev/ttyACM0`.