Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

1.3inch 65K FullColorLCD 240x240dot [ST7789V]

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
O-Family

Bascom Expert



Joined: 23 May 2010
Posts: 320
Location: Japan

japan.gif
PostPosted: Fri May 31, 2019 1:20 am    Post subject: 1.3inch 65K FullColorLCD 240x240dot [ST7789V] Reply with quote

Various small color LCDs used for smart watches etc. are sold.
Many of these LCD controllers are compatible devices, so it can be handled by slightly modifying the library.

Circuit diagram
https://drive.google.com/file/d/1Sg3bAcDfnX1TTHHkqau4SkWC39hGrNf3/view?usp=sharing
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5915
Location: Holland

blank.gif
PostPosted: Sat Jun 01, 2019 8:05 pm    Post subject: Reply with quote

Hello O-Family,

Thank you for this lib. Indeed these small lcd are good for many projects.
Thanks for the clear circuit and sample code Very Happy

_________________
Mark
Back to top
View user's profile Visit poster's website
O-Family

Bascom Expert



Joined: 23 May 2010
Posts: 320
Location: Japan

japan.gif
PostPosted: Mon Jan 04, 2021 11:37 am    Post subject: Reply with quote

The bug in the original [glcd-ST7735R.lib] was not fixed.
It does not work if A0=[DC] and Sclk=[SCK] are assigned to another port.
Please use the new library (libversion = 002).
Back to top
View user's profile Visit poster's website
Sarek

Bascom Member



Joined: 15 Oct 2009
Posts: 72

germany.gif
PostPosted: Mon Aug 29, 2022 9:12 am    Post subject: Reply with quote

I try to use this lib with ATXMEGA128A3U.

But I get this compiler errors:

Code:

Error : 221   Line :   231   Backward jump out of range [_CLEAR_GRAPH1 [ 86]]  , in File : C:\MCS\BASCAVR2082\LIB\GLCD-ST7789V_1R3_240X240.LIB
Error : 221   Line :   233   Backward jump out of range [_CLEAR_GRAPH2 [ 89]]  , in File : C:\MCS\BASCAVR2082\LIB\GLCD-ST7789V_1R3_240X240.LIB
Error : 221   Line :   235   Backward jump out of range [_CLEAR_GRAPH3 [ 92]]  , in File : C:\MCS\BASCAVR2082\LIB\GLCD-ST7789V_1R3_240X240.LIB
 


What can be the cause for this behaviour?
Back to top
View user's profile
O-Family

Bascom Expert



Joined: 23 May 2010
Posts: 320
Location: Japan

japan.gif
PostPosted: Tue Aug 30, 2022 1:49 am    Post subject: Reply with quote

Mrshilov's original library did not support Xmega.
Please use revision 003.
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum