olikraus / u8g2

U8glib library for monochrome displays, version 2
Other
5.15k stars 1.05k forks source link

8080 interface #2488

Open bijx-ly opened 2 months ago

bijx-ly commented 2 months ago

If using 8080 protocol, how to implement GPIO and Delay callback and u8x8 byte communication callback two functions, help to provide the reference code

olikraus commented 2 months ago

8080 protocol is available by default.

bijx-ly commented 2 months ago

You mean that the transmission uses the function u8x8_byte_8bit_8080mode, but how to write the function u8x8_gpio_and_delay? Now it cannot be displayed after using u8g2, could you please help to see the code at https://github.com/bijx-ly/stm32h750_st7920_lcd_u8g2.git

olikraus commented 2 months ago

You mean that the transmission uses the function u8x8_byte_8bit_8080mode, but how to write the function u8x8_gpio_and_delay?

correct

could you please help to see the code at https://github.com/bijx-ly/stm32h750_st7920_lcd_u8g2.git

There is only a rar file. Detail for the gpio&delay function are here: https://github.com/olikraus/u8g2/wiki/Porting-to-new-MCU-platform#the-uc-specific-gpio-and-delay-callback