Ok, lloks like I get to post the message here, I'm so excited...
I have a LCD4041 acording to the specs it can have 8 custom characters an a custom startup message. Now I'm not a coder so telling me to use c++ won't help. How does one load those custom chars and startup into the LCD.
Stupid question, I'm sure it's in a FAQ but I can't find it.
-
- -=Beloved by all=-
- Posts: 286
- Joined: Tue Aug 14, 2001 6:00 pm
- Location: ...I could tell you my velocity...
Well, there are 4 sets of custom characters that you can load semi-automatically by initializing large digits or bargraphs of different types. These are defined internally in the unit. You could do that initialization with any program that makes use of these functions.
As for other custom characters or your own design, I know of no program that allows you to do this. Even if there were, though, I can't see it being very effective.
It IS possible to create a binary file and redirect it to a comm port under Win9x. I am not sure that the unit would keep up to a full download of all custom caharacters all at once, but it would be close. Maybe split it into two parts with a small delay between them. Basically, this would allow you to have files that you could upload into the LCD with a .bat file.
If you know how to use a hex editor, this would be fairly simple. If you want to try it, I might be able to help.
As for other custom characters or your own design, I know of no program that allows you to do this. Even if there were, though, I can't see it being very effective.
It IS possible to create a binary file and redirect it to a comm port under Win9x. I am not sure that the unit would keep up to a full download of all custom caharacters all at once, but it would be close. Maybe split it into two parts with a small delay between them. Basically, this would allow you to have files that you could upload into the LCD with a .bat file.
If you know how to use a hex editor, this would be fairly simple. If you want to try it, I might be able to help.
-
- -=Beloved by all=-
- Posts: 286
- Joined: Tue Aug 14, 2001 6:00 pm
- Location: ...I could tell you my velocity...
OK. You are going to have to find yourself 2 people, or be them. 1 who knows how to use a hex editor, and 1 who knows how to set up the MODE command under DOS (I forgot years ago).
Make the hex (AKA binary) file with all the command codes and data you want to send (look in the LCD manual). From the command line, or from a batch file, use a command that looks like "copy myfile.hex >com1" (not sure of the sytax). Before you do that, though, you will need to use MODE to set the comm port to the right baud rate and format (N81). You should also be able to include this in the batch file.
I did this with our modules a couple years back, but I don't remember the details and I sure don't have any docs anymore. Back when DOS had a help command, you could look it up there.
I don't think this will work under NT or W2K.
I hope you can make sense of this and that it helps
<font size=-1>[ This Message was edited by: Aniso on 2001-08-19 13:40 ]</font>
Make the hex (AKA binary) file with all the command codes and data you want to send (look in the LCD manual). From the command line, or from a batch file, use a command that looks like "copy myfile.hex >com1" (not sure of the sytax). Before you do that, though, you will need to use MODE to set the comm port to the right baud rate and format (N81). You should also be able to include this in the batch file.
I did this with our modules a couple years back, but I don't remember the details and I sure don't have any docs anymore. Back when DOS had a help command, you could look it up there.
I don't think this will work under NT or W2K.
I hope you can make sense of this and that it helps
<font size=-1>[ This Message was edited by: Aniso on 2001-08-19 13:40 ]</font>
Yeah, thats something I'd like to see in Windows. A bit more stability, no more eye candy just make it stable. I seem to remember having my 'old' 486 running DRDos 24/7 for a cpl of months straight and not even a memory leak, seems these days in win98 I'm lucky to get a cpl of days straight then I gotta reboot cause of memory loss or BSOD. *sigh* I guess thats why Unix/Linux still have a very large following
DAYS, you're a lucky man, I think hours is good But we do have a server here with close to 1000h of up time...On 2001-08-21 14:45, NotANick wrote:
Yeah, thats something I'd like to see in Windows. A bit more stability, no more eye candy just make it stable. I seem to remember having my 'old' 486 running DRDos 24/7 for a cpl of months straight and not even a memory leak, seems these days in win98 I'm lucky to get a cpl of days straight then I gotta reboot cause of memory loss or BSOD. *sigh* I guess thats why Unix/Linux still have a very large following
Henry J.
President
Matrix Orbital
President
Matrix Orbital
That's why FreeBSD is my favorite OS. I had a name server running FreeBSD 2.2 that had over 650 days of uptime. I finally had to take it down to move it to another building, or it would very likely still be up.
My box at my desk has 78days: screenshot
My box at my desk has 78days: screenshot
BLK202A-4BR-BK + LK202-25-WB-V + LK204-25-V + VK204-25-V + LK-202-24-USB + MX212