Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve LCD test demo & Add RGB LED demo #48

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

AlexJones0
Copy link
Contributor

This PR creates a new demo firmware target, leds_and_lcd, intended to do what the name implies - show the LEDs (GPIO & RGB LEDs) being used, and draw some stuff to the LCD.

This updates the existing LCD test code to now print a "Running on Sonata" and "Protected by CHERI" message, with a little cherry bitmap.

It also adds an additional compartment rgbled_lerp which just linearly interpolates between colours on the RGB LEDs to slowly cycle through different colours.

Copy link
Member

@HU90m HU90m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

examples/all/lcd_test.cc Outdated Show resolved Hide resolved
This commit creates a new demo firmware target, `leds_and_lcd`, intended
to do what the name implies - show the LEDs (GPIO & RGB LEDs) being
used, and draw some stuff to the LCD.

This updates the existing LCD test code to now print a "Running on
Sonata" and "Protected by CHERI" message, with a little cherry bitmap.

It also adds an additional compartment `rgbled_lerp` which just linearly
interpolates between colours on the RGB LEDs to slowly cycle through
different colours.

Co-authored-by: Hugo McNally <[email protected]>
@AlexJones0 AlexJones0 merged commit 2aa8838 into lowRISC:main Oct 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants