C3 = 48 ; C2 = 48 ; C1 = 48 ;
C3 = C3 + (Command % 10 ) ; // These steps extract the hundreds, tens and units
Command = Command / 10 ; // from Command and stores them in C1, C2 and C3
C2 = C2 + (Command % 10 ) ;
Command = Command / 10 ;
C1 = C1 + (Command % 10 ) ;
hi Brian,I'm going to look into that!
If you are unfamiliar both with programming microcontrollers and driving LCDs, I would recommend separating the two problems. You can learn how to drive a parallel LCD without a Microcontroller by setting it up on prototyping board with switches for your control lines and data. Then, by setting the data you want to send on the data bus and toggling your control lines in the correct fashion, you can manually send the LCD commands and text data. This will at least give you a basic appreciation of how the LCD works. Once you're comfortable with that, you can move on to the problem of getting a Microcontroller to control the LCD.thanks for u r suggestion..!
I will be back after finishing all those things
Thanks Eric I will indeed take a look at that. As it happens, dividing by 10 wasn't an issue for my particular application but I always like to find more efficient solutions to problemshi Brian,
This is for FFh, but the method is the same, just add the 1000's part.
Look at Pommie's post
[
Silly idea, you need a processor - end of story.Thanks for the new ideas!
May any one send the circuit to display any character on lcd screen without using microcontroller?
Nigel - I suggested connecting the LCD up on breadboard without a Microcontroller purely as a learning exercise. It would give an appreciation for how an LCD works. You would need a processor to implement a useful display, of course.Silly idea, you need a processor - end of story.
Exactly, you can't 'use' it without a processor, if you just want to manually 'play' with one, then full details are in the excellent EPE LCD tutorial articles available on their website.Nigel - I suggested connecting the LCD up on breadboard without a Microcontroller purely as a learning exercise. It would give an appreciation for how an LCD works. You would need a processor to implement a useful display, of course.