Author |
Message |
Topic: 9-Digit number to LCD |
Henk
Replies: 2
Views: 4284
|
Forum: General CCS C Discussion Posted: Sun Nov 20, 2005 10:19 am Subject: 9-Digit number to LCD |
Thankyou very much. I thought pintf applied only to RS232.
It worked perfectly
Henk |
Topic: 9-Digit number to LCD |
Henk
Replies: 2
Views: 4284
|
Forum: General CCS C Discussion Posted: Sun Nov 20, 2005 6:18 am Subject: 9-Digit number to LCD |
Hi Guys.
I need to diplay a 9-digit number on a 2x16 lcd display, and wrote the following code to do this. It works fine accept at the point where the 5th digit changes from a 6 to a 7, or is great ... |
Topic: How to display floating point variable value on 16x2 lcd? |
Henk
Replies: 4
Views: 8711
|
Forum: General CCS C Discussion Posted: Sun Sep 18, 2005 1:21 am Subject: DISPLAYING FLOATING PT NUMBERS |
Depending on required number of dec. places, I multiply the float by 100, say, for 2 dec. places, then convert to an integer, which is then devide by 100000, to determine thousands, calc the remainder ... |
Topic: 16F877 to 18F425 migration problems |
Henk
Replies: 6
Views: 12048
|
Forum: General CCS C Discussion Posted: Sat Nov 13, 2004 12:44 am Subject: 16F877 to 18F425 migration problems |
Got it. You were both right. Clever Henk deleted some lines in the standard LCD.C routine to save code space, and set portD address at 8 for 16F877.
thanks again. |
Topic: 16F877 to 18F425 migration problems |
Henk
Replies: 6
Views: 12048
|
Forum: General CCS C Discussion Posted: Thu Nov 11, 2004 2:24 pm Subject: 16F877 to 18F425 migration problems |
Thanx Mark. As advised, a simple test program runs correctly on the existing hardware.
Seems, however, to be some incompatibility with the running of the LCD routine on the new processor, although it ... |
Topic: 16F877 to 18F425 migration problems |
Henk
Replies: 6
Views: 12048
|
Forum: General CCS C Discussion Posted: Thu Nov 11, 2004 6:23 am Subject: 16F877 to 18F425 migration problems |
Hi.
I have run out of program space on a pic16F877 , so have loaded the code into a pic18f425, same hardware, including 4mhz xtal.
The code compiled and loaded (using MPLAB ICD 2) with no errors, bu ... |
|