Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

Share your working BASCOM-AVR code here : Fast library for SSD1963 LCD : REPLY

$
0
0
I figured it out. Many of the subroutines change the Page/Column Address Order of the 36h register, for example: [code:1:f2259a31d1]Sub Lcd_clear(byval Color As Word) Ssd1963_select_reg &H36 'Change X/Y order Ssd1963_write_data &H03 ...(then back) Ssd1963_select_reg &H36 'Normal X/Y order Ssd1963_write_data &H23[/code:1:f2259a31d1] So just modifying the initialization routine will not work. This is what I did to find the settings I needed: [code:1:f2259a31d1]Const Xynormal = &H28 Const Xyflipped = &H08[/code:1:f2259a31d1] and the subroutines: [code:1:f2259a31d1]Ssd1963_select_reg &H36 'Change X/Y order Ssd1963_write_data Xyflipped ... Ssd1963_select_reg &H36 'Normal X/Y order Ssd1963_write_data Xynormal[/code:1:f2259a31d1]

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>