hd44780-driver icon indicating copy to clipboard operation
hd44780-driver copied to clipboard

Alternate arduino uno example

Open OliverEvans96 opened this issue 5 years ago • 2 comments

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 avatar Sep 15 '20 16:09 OliverEvans96

I got the seconds since reset working using numtoa!

OliverEvans96 avatar Sep 15 '20 17:09 OliverEvans96

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

JohnDoneth avatar Sep 17 '20 19:09 JohnDoneth