Search found 7 matches
- Sat Feb 10, 2007 7:36 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: sending commands using C
- Replies: 5
- Views: 5639
- Fri Feb 09, 2007 4:11 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: sending commands using C
- Replies: 5
- Views: 5639
Thanks for the response. The link you gave me seems to be focused on opening COM ports in Windows. What I'm looking for is help on sending raw hex (like 0xFE) in C using a microcontroller. I have the micro connected to the LCD and it's displaying text, but I'm not sure of the best way to send hex ...
- Sat Feb 03, 2007 4:43 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: sending commands using C
- Replies: 5
- Views: 5639
sending commands using C
I'm using a LK162-12 and I was wondering if anyone knew how to send commands using C. I've tried
#define command 0xFE
#define clear_screen 0x58
while(1)
{
......display some text.......
......wait a second.............
printf("%X%X", command, clear_screen);
}
but it just displays them as ...
#define command 0xFE
#define clear_screen 0x58
while(1)
{
......display some text.......
......wait a second.............
printf("%X%X", command, clear_screen);
}
but it just displays them as ...
- Sat Feb 03, 2007 3:44 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Text with Atmel micro
- Replies: 5
- Views: 6384
- Sat Feb 03, 2007 9:33 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Text with Atmel micro
- Replies: 5
- Views: 6384
- Fri Feb 02, 2007 5:08 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Text with Atmel micro
- Replies: 5
- Views: 6384
- Fri Feb 02, 2007 4:43 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Text with Atmel micro
- Replies: 5
- Views: 6384
Text with Atmel micro
I recently purchased the LK162-12 and I'm having difficulty getting it to properly display text. I created a simple program in C that prints the string "Hello" every second. I have the micro connected to the LCD and a PC at the same time. I can see in a hyperterminal on the PC the "Hello" string ...