tuupola / hagl_pico_mipi

Raspberry Pi Pico MIPI DCS absraction layer for the HAGL graphics library
MIT License
44 stars 15 forks source link

'MIPI_DISPLAY_PIN_POWER' undeclared #34

Closed eugnio1 closed 1 year ago

eugnio1 commented 1 year ago
Screenshot 2023-02-24 at 4 42 38 PM

mipi_display.c is quite new And how to use the load image cmd

Screenshot 2023-02-24 at 4 41 41 PM

I'm using a 160*128 st7735 display

tuupola commented 1 year ago

It seems I should add a default value for it. In the meanwhile if you are not using power pin declare it in your config as:

target_compile_definitions(firmware PRIVATE
  MIPI_DISPLAY_PIN_POWER=-1
)
tuupola commented 1 year ago

Fixed in master. Thanks!