32 bit data displaying on LCD
Dear developers
I 'm developing an operating panel (LCD and keypad included)
for Matsushita PLCs.
I have to display decimal 32 bit full range data (up to 4.294.967.295) on LCD and handle 32 bit data from LCD entered by the user.
Displaying and retrieving LCD is no problem.
But How can I display 32 bit decimal data to LCD and calculate new 32 bit data from LCD
Thank you for your help right now
Selahattin Aslan
ASM Electronics Ltd
how do i count to 20 without taking my shoes off?
When I take my shoes off, I can see my toes, so I can count to 20.
When I count to 5, I only need to see one hand, but to 10, I need to see both hands.
Therefore, if a word variable is 16 bits, two word variables is 32 bits. That means, if I declare a 2 element word array, I'll have 32 bits. So I'd just need a simple algorithm to refer to the array and treat it like one 32bit variable.
You could use assembler, or use any of the bit functions (>> << or var.bit) to handle it.
bcf
Could you give an example?
Quote:
Originally Posted by blainecf
When I take my shoes off, I can see my toes, so I can count to 20.
When I count to 5, I only need to see one hand, but to 10, I need to see both hands.
Therefore, if a word variable is 16 bits, two word variables is 32 bits. That means, if I declare a 2 element word array, I'll have 32 bits. So I'd just need a simple algorithm to refer to the array and treat it like one 32bit variable.
You could use assembler, or use any of the bit functions (>> << or var.bit) to handle it.
bcf
This is very helpful, Thankyou. Could you please give one example of actual pic basic code.
r lampus