Skip to content

Conversation

@OliverEvans96
Copy link

Here's my alternate HelloWorld example, very similar to your own, but using the uno-runner.sh from the avr-hal arduino uno examples and the circuit diagram from the Arduino LiquidCrystal HelloWorld example.

I was trying to mimic the counter on the second line displaying the number of seconds since reset, but I couldn't quite figure out how to write a number to the LCD yet. I was trying to use arrayvec and core::fmt::write!, but I think I got a panic-related error. So I tried with ufmt for a while, but decided to give up for the time being. Maybe you can make a suggestion here? Otherwise, I might give it another shot later.

I'm glad to incorporate any modifications you suggest!
Oliver

@OliverEvans96
Copy link
Author

I got the seconds since reset working using numtoa!

@JohnDoneth
Copy link
Owner

Thanks for this! 🎉 I'll definitely give it more of a look through once I'm less busy with work.

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