Here's my alternate HelloWorld example, very similar to your own, but using the uno-runner.sh from the avr-halarduino 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
Here's my alternate HelloWorld example, very similar to your own, but using the
uno-runner.sh
from theavr-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
andcore::fmt::write!
, but I think I got a panic-related error. So I tried withufmt
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