Skip to content

Print USB serial data to an OLED display using Rust and AVR-C

Notifications You must be signed in to change notification settings

mogenson/udoo-display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDOO Display

Using the embedded atmega32u4 in an UDOO Bolt Gear, display text received over a USB serial interface on an SSD1306 OLED screen.

udoo

Main application logic and display driver is written in Rust. USB serial implementation uses the 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.

About

Print USB serial data to an OLED display using Rust and AVR-C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages