Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Fast library for SSD1289 LCD + Proteus Model
Goto page Previous  1, 2, 3
 
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
hobby

Bascom Member



Joined: 12 Apr 2004
Posts: 109
Location: Brussels

belgium.gif
PostPosted: Wed Jul 24, 2019 12:48 am    Post subject: Reply with quote

Hello,

Many thanks for library.

Just little feedback:
I have tested the saintsmart shield with the demo of arduino code, works.
I have tested (only display), the code @ Nov 06, 2016 12:21 am, works.
I have create new shield using the same schematic of saintsmart*, i have just added FET for backlight.
I test my new shield with arduino demo code, works.
I test with code @ Nov 06, 2016 12:21 am, not works !!!!
I have modified the library with the code from last post mkcreta, it's works.

Thanks
Olivier
* Stupid shield, not possible to get orther port....
Back to top
View user's profile
DL2EBV

Bascom Member



Joined: 28 Dec 2005
Posts: 1

germany.gif
PostPosted: Wed Aug 23, 2023 5:17 pm    Post subject: SSD1963 Display 480x272 Init-Data Reply with quote

Hello,
just trying to program a SSD1963-display with resolution 480x272 with a shield for a Arduino-mega2560 board using BASCOM and the 2014-version of the library.

Just shows nothing on the display.

Does anybody have the init-sequence with all the values for PLL and Synch for the resolution?
Would help I think...

Greetings, Ernst
Back to top
View user's profile
enniom

Bascom Member



Joined: 20 Oct 2009
Posts: 537

PostPosted: Mon Aug 28, 2023 7:36 pm    Post subject: Reply with quote

Hello Ernst,

This is successful for the PLL

Code:
   Res_disp = 0 : Waitms 10 : Res_disp = 1 : Waitms 10      'Reset Display

   Call Ssd1963_select_reg(&He2)                            'PLL multiplier
        Call Ssd1963_write_data(24)                         'M = 24
        Call Ssd1963_write_data(&B001_01011)                'N = 11
        Call Ssd1963_write_data(&B00000_1_00)               'Execute setting PLL    final setting is 250/12 = 20.83 MHz
                                                            'This seems to be the lowest PLL without flickering
        Call Ssd1963_write_data(&H54)                       '54 = dummy

   Call Ssd1963_select_reg(&He0)                            'E0
        Call Ssd1963_write_data(&H01)                       'start PLL
        Waitus 200
   
   Call Ssd1963_select_reg(&He0)                            'E0
        Call Ssd1963_write_data(&H03)                       'LOCK PLL

   Call Ssd1963_select_reg(&H01)                            'Software reset

   Waitms 100
 


Regarding the "Synch", let me know which register you need and I will post it.

E
Back to top
View user's profile
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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