echo-lalia/MicroHydra

color565 method isn't accesible from display module.

Closed this issue · 0 comments

In MicroHydra 1.x, the st7789py.color565 function is used by a few different apps. However, the current display.st7789.color565 function can't be accessed directly from the display module. Apps need to also import the display.st7789 module, which defeats the purpose of the display module somewhat.

I think it would be good to import that function in display.__init__, or move that function to hydra.color so that it can be accessed elsewhere without the redundant import.