Commit graph

17 commits

Author SHA1 Message Date
0003717408 fw-rust: Refactor home screen
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add new function for easier instantiation and refactor the input
function.
2022-03-15 19:03:36 +01:00
2ec8d1aeb9 fw-rust: Handle screens differently, use encoder
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Handle the screens differently and implement rotary encoder support.
2022-03-15 00:17:54 +01:00
4a33986e8d fw-rust: Improve URL asset
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-03-14 22:54:07 +01:00
1688bb868e fw-rust: Add symbols and screens
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add several symbols and a symbol table in an ascii order. Add the
`print()` and `print_inverted()` functions to be able to draw strings,
"black on white" as well as "white on black" onto the display. Add a
`HomeScreen` which also saves the state of which selection is
active. To save the screen state and also make it accessible globally
use a `RefCell` contained in a `Mutex`.

Also update the build dependencies.
2022-03-14 22:54:07 +01:00
de8f789e63 fw-rust: Create Lcd struct to handle the screen
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
To improve screen handling create the `Lcd` struct and implement some
first helper functions.
2022-03-12 19:20:28 +01:00
518f113cc0 fw-rust: Use avr-eeprom create to read from EEPROM
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Use the `avr-eeprom` crate when reading from EEPROM.
2022-03-12 17:20:53 +01:00
9425093391 fw-rust: Draw the splash screen via function
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Make the splash screen assets `const` and draw the splash screen with
the new `draw_splash()` function.
2022-03-11 02:35:57 +01:00
36be6d27bc fw-rust: Create a function to clear the screen
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Create a utility function to clear the complete screen.
2022-03-09 19:42:10 +01:00
8b9d21a012 fw-rust: Start to use the avr-eeprom crate
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Start to use the avr-eeprom crate to handle values residing inside the
EEPROM.
2022-03-08 19:05:40 +01:00
b34b2810db fw-rust: Handle data residing in the EEPROM
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-03-08 14:42:04 +01:00
8315560daa fw-rust: Use chip-generic interrupt utilities
Instead of manually enabling and disabling interrupts use the
chip-generic interrupt utilities.
2022-03-07 18:30:33 +01:00
a688d4c5ed fw-rust: Show splash screen
Put assets for the splash screen into the data segment and print it.
2022-03-07 18:30:33 +01:00
c42b4595c7 fw-rust: Clear the screen
After initializing the LCD display, clear the screen.
2022-03-06 19:20:49 +01:00
817776d735 fw-rust: Initialize the LCD display
Send commands via SPI to the LCD display to initialize and configure
it.
2022-03-06 19:20:49 +01:00
643e5f1af4 fw-rust: Create a SPI interface for the display
In order to, later on, send data to the display create a SPI
interface.
2022-03-06 19:20:49 +01:00
aa59bc302d fw-rust: Create a PWM signal for the backlight
To have a dimmable backlight, generate a variable duty-cycle PWM
signal which is consumed by the backlight driver circuit.
2022-03-06 19:20:49 +01:00
aa75712418 fw-rust: Minimal hello world 2022-03-06 19:20:49 +01:00