Search found 15 matches

by Adan_T
Sun Apr 23, 2006 5:24 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: write number to a variable and display it
Replies: 1
Views: 3160

write number to a variable and display it

Hi,
I want to write a number (i.e. 127) to a variable and then display that number in
the variable on an LK204-25 LCD. I tried writing the number to the variable
with a scanf function and then displaying it but it does not seem to work. Is there
a way to write a number to a variable without using ...
by Adan_T
Fri Apr 07, 2006 4:50 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: displaying problems
Replies: 3
Views: 4272

Hi Jon,

Thanks for your suggestions. They worked beautifully!!!
by Adan_T
Fri Apr 07, 2006 11:46 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: displaying problems
Replies: 3
Views: 4272

displaying problems

Hi Raquel and Jon,

Thanks for the suggestions. I was able to make the program count but I can not
display the numbers as desired. The program counts well displaying the
numbers
1 on row1 column1 then , 2 on row1 column2 , 3 on row1 column3, ... etc. The program
displays up to 3-digit numbers ...
by Adan_T
Thu Apr 06, 2006 2:33 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: header files
Replies: 2
Views: 4504

header files

Hi everyone,

I'm using the avr gcc compiler. I just found out this compiler does not
include
the cstdio.h header file. Any suggestions as to where to find it?
Thanks
by Adan_T
Wed Apr 05, 2006 7:48 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: display large number
Replies: 9
Views: 10767

Hi everyone,

Does anybody know how to get a hold of the <cstdio.h> and <stdlib.h> header files
and add them to the Command Prompt compiler to compile a C program?
by Adan_T
Mon Apr 03, 2006 7:08 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: display large number
Replies: 9
Views: 10767

Hello Raquel,

Your suggestion was good, but doesn't work for my program.

I'm writing a program that counts from 1 to 15,000 each time incrementing
by one.
Each time the program increments by one it delays for about 15 seconds.
I need
to display all these numbers (1 to 15,000) on the LCD as the ...
by Adan_T
Mon Apr 03, 2006 4:19 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: display large number
Replies: 9
Views: 10767

Hello Raquel,
I can display the number '11500' on the LCD by sending one number at
a time
but my question is:
Would it be possible to send this same number with just one function call?

You're right I get two warnings when compiling the program:
-character constant too long for its type for the ...
by Adan_T
Mon Apr 03, 2006 1:37 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: display large number
Replies: 9
Views: 10767

display large number

Hi,
I'm using the Atmega32 uC to send characters to the LK204-25 LCD. I can
send individual characters (e.g. 'A' , 'B' , '1' '7', etc); I can also display a large number
such as '11500' by send one number at a time with a function call. (USART_TRANSMIT).
The problem arises when I want to send a ...
by Adan_T
Tue Mar 28, 2006 6:43 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: TTL communications
Replies: 5
Views: 6866

Hi Raquel,
Thank you so much for the help and for the quick responses you
have
provided. I've finally been able to display letter 'A' on the LCD. Hopefully I will
now be able to send strings and play around with the commands
Best Regards
by Adan_T
Tue Mar 28, 2006 4:53 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: TTL communications
Replies: 5
Views: 6866

Hello Raquel,

I forgot to mention in my previous post that my LCD is not working yet.
What happens now is
that I download my code to the Atmega32 while I have all the preiously metioned
connections in place, but nothing happens. The screen shows the Matrix Orbital logo.
Do you have any ...
by Adan_T
Tue Mar 28, 2006 1:43 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: TTL communications
Replies: 5
Views: 6866

TTL communications

Hi,
I have the LK204-25 LCD REV1.23. I have made the modifications shown on
this link

http://www.lcdforums.com/forums/viewtopic.php?p=15824&highlight=ttl#15824

to talk to my Atmega32 in TTL level and be able to set the LCD contrast and display letter 'A' on the LCD

The uC is running at 8 MHz ...
by Adan_T
Mon Mar 27, 2006 6:03 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LCD Problem
Replies: 6
Views: 7264

Hello again,
Yes, I'm willing to do some soldering, please tell me which pin.
The uC is running at 8 MHz.
I'll change the while (1) loop to a for loop and modify the txbuffer
Could you elaborate a little more as to how to talk to the LK204-25 in TTL level
Thank you for your help
by Adan_T
Mon Mar 27, 2006 5:07 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LCD Problem
Replies: 6
Views: 7264

Hi Raquel,
I have four connections to my LK204-25 (four jumper wires)

- One goes from my Atmega32 UART TXD pin to pin 3 of the LK204-25
- Another jumper wire is used to connect pin 5 of LK204-25 to ground
- Third jumper wire is used to connect pin 1 of power connector to 5.14 Volts
- And the fourth ...
by Adan_T
Mon Mar 27, 2006 3:57 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LCD Problem
Replies: 6
Views: 7264

Hi Raquel,
Could you please tell me how to do this.
by Adan_T
Sun Mar 26, 2006 12:54 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LCD Problem
Replies: 6
Views: 7264

LCD Problem

Hi,
I have the LK204-25 LCD and I want to display a character (letter 'A') on it
but
I just get the screen full of black blocks. I am using the Atmega32 to send this
letter serially. I connected the UART TXD pin to the LCD input pin with a jumper
wire. I know it could be a contrast problem that ...