somakeit / smib

1 stars 0 forks source link

Refactor display and lcd driver modules #106

Closed sjefferson99 closed 1 month ago

sjefferson99 commented 1 month ago

Move any lcd display method like print_top_line() into the LCD module as a driver class. Keep Display for output device agnositic functions and also SMIBHID agnostic functions like add_short_message_to_carousel() to make a message appear on the connected display somehow.

Have the display module support different drivers and support different methods/features by display driver enabled. No point trying to support advanced graphics or long text on a 2x16 display.