bitbank2 / bb_spi_lcd

SPI LCD/OLED library which can be built for Arduino and Linux
GNU General Public License v3.0
89 stars 13 forks source link

How did you create the gif.h? #4

Closed jhonnyx161 closed 3 years ago

jhonnyx161 commented 3 years ago

Hi How did you create the gif.h? regards

bitbank2 commented 3 years ago

I used my image_to_c tool:

https://github.com/bitbank2/image_to_c

jhonnyx161 commented 3 years ago

I used my image_to_c tool:

https://github.com/bitbank2/image_to_c

Thank you so much

how to connect st7789 240*240 without cs pin and mini sd bb_spi_lcd

bitbank2 commented 3 years ago

This question is beyond the scope of AnimatedGIF. I believe I have an example with that display in my bb_spi_lcd examples.

jhonnyx161 commented 3 years ago

Esta pregunta está más allá del alcance de AnimatedGIF. Creo que tengo un ejemplo con esa pantalla en mis ejemplos bb_spi_lcd.

the example uses st7789 with cs pin, it is another model

checking debb_spi_lcd.cpp code this if: if (pLCD-> iLCDType == LCD_ST7789 || pLCD-> iLCDType == LCD_ST7789_240 || pLCD-> iLCDType == LCD_ST7789_135 || pLCD-> iLCDType == LCD_ST7789_NOCS)

I tried with each mode in spilcdInit () but got no positive results for st7789 if cs pin

the example with adafruit and st7735 is slower than bb_spi_lcd?

thank you ppr the support

bitbank2 commented 3 years ago

The correct choice is LCD_ST7789_NOCS. This is for the 240x240 display without an exposed CS pin. It needs the signal to be a phase of SPI mode 3.