Display TFT ST7789 (OshonSoft Basic).

DogFlu66

Member
I leave the library to use ST7789 TFT display, I have translated one that is in C language. But unfortunately I have not been able to get it to work yet. I leave the files in case someone with more experience with these displays can review it.
 

Attachments

  • Main_ST7789.bas
    1.5 KB · Views: 168
  • ST7789_240X240.bas
    15 KB · Views: 152
  • _SPI_Library.bas
    6 KB · Views: 160
  • _Pic18F26K22Library.bas
    46.4 KB · Views: 148
  • _SetUpAmicus18.bas
    2.9 KB · Views: 140
Hi Dog.. That was my next move.. I'm making a board so that breadboard capacitance no longer affects it.

We'll see. I was running at 16Mhz with that pic18f26k80 so I should be okay.
 
Is anyone else annoyed that the SPI speed has very few options?, it's difficult to approach the maximum speed of the display, and the closest under that figure is usually quite a bit slower than possible.
 
The 16 MHz bus performs quite well. It’s not ideal for animations, but it is suitable for displaying colored text, graphics to indicate liquid levels, voltages, speeds, etc. Overall, it is more than sufficient for the main purpose of this series of microcontrollers: developing small and medium-scale automation systems.
 
Just had word my two screens will be here soon.
When these are on my pico setup SPI runs ultrafast and animation is really good.
I believe you can achieve 62Mhz.. But they have programable IO cores..
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…