News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

GLCD 192x64 KS0108

Started by xvovanx, May 31, 2023, 06:17 PM

Previous topic - Next topic

xvovanx

Hello!
How to work with the graphic display 192x64 KS0108(3 blocks 64x64)? Problem with CS3 64x64 3-th block.
Proton not compile the comand "Declare LCD_CS3Pin = PORTX.X".
With 128x64 and CS1/CS2 all OK.

Dompie

According to the manual there is no LCD_CS3Pin declare so the compiler will not recognize the declare either. There are only LCD_CS2Pin and LCD_CS1Pin declares.

Johan

xvovanx

GLCD 192x64 can be controlled in this way: in the program itself, make the pin CS3 active (=0), display a 64x64 image, it will be the same in the first and third squares 64x64, then make the pin CS3 inactive (=1) and display 128x64 graphics for the first two squares 64x64.

xvovanx

#3
Hello!

When declaring the data port of an 8-bits controller (16/18 series) connected to a graphic display, we write
Declare LCD_DTPort = PORTB, using pins PORTB.0-PORTB.7.

What about 24/33 series microcontrollers if they have 16-bits ports? If we declare the all port B for data transmission to GLCD, what will happen to the pins PORTB.8-PORTB.15? Can they be used for other purposes?


P.S. I found it in the description Positron16 - LCD_DTPort = PORTB.Byte0
 :)