Search found 3 matches

by Nutmegzzzz
Mon Nov 08, 2010 3:25 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Place cursor and clear screen using RS-232
Replies: 3
Views: 5571

The code that I needed for the CCS compiler was; //clear screen printf("%c",254); printf("%c",88 ); As I understand it, the %c sends the raw code. Also if you want to place the cursor; //place cursor printf("%c",254); printf("%c",71); printf("%c",3);...
by Nutmegzzzz
Mon Nov 08, 2010 11:51 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Place cursor and clear screen using RS-232
Replies: 3
Views: 5571

I get on the screen;

'fe58fe48ABCDEFGHIJKLMNOPQRSTUVWXYZ'
by Nutmegzzzz
Mon Nov 08, 2010 10:27 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Place cursor and clear screen using RS-232
Replies: 3
Views: 5571

Place cursor and clear screen using RS-232

I am using the PIC 16F877A to control the GLC24064 V2.0 and I am able to write to the LCD with the following program but the command to clear the screen and place the cursor does not work. The program is below and produces the following on the LCD; feXfeHABCDEFGHIJKLMNOPQRSTUVWXYZ and will wrap itse...