The HD44780 struct takes exclusive ownership of Delay, which makes it impossible to use on devices where Delay can only be created once, and can't be cloned (such as a bluepill board)
It would be nice if the HD44780 struct didn't hold the Delay, and it could be passed into functions as a reference as needed.
The
HD44780
struct takes exclusive ownership ofDelay
, which makes it impossible to use on devices whereDelay
can only be created once, and can't be cloned (such as a bluepill board)It would be nice if the
HD44780
struct didn't hold theDelay
, and it could be passed into functions as a reference as needed.