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: 177
  • ST7789_240X240.bas
    15 KB · Views: 159
  • _SPI_Library.bas
    6 KB · Views: 170
  • _Pic18F26K22Library.bas
    46.4 KB · Views: 158
  • _SetUpAmicus18.bas
    2.9 KB · Views: 149
Hi D,
The Pickit3 uses the MCLR pin, then it is pulled up by the resistor.

If I have spare 18F46K20 I can post one to you if you PM me your address.
C.
 
Hi I,
I do keep the Pickit3 in place, after reprogramming, is this incorrect?
While developing an internal MCLRE is best.. Once you are happy, by all means swap it back.
?
C.
 
Hi D,
The Pickit3 uses the MCLR pin, then it is pulled up by the resistor.

If I have spare 18F46K20 I can post one to you if you PM me your address.
C.

Thanks for the offer, but I've ordered two Pic18F46K22. Anyway, I recommend you go for the Pic18F46K22, which is very similar and has some of the internal modules duplicated. It also has something very important, and that is that it can work at 3.3 and 5v (1.8 to 5.5v), while the 46K20 only allows you to work at 3.3v (1.8 to 3.6v), at least in the versions I've seen.
 
Hi D,
As I use the 46K20 with 3.3V exclusively, and there is a second PIC on my PCB. I'll leave it as is.
C
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…