Diego Rueda
New Member
Hi,
I need hek with a C18 code that i'm writing now. well i need to create one calculator with a 4x4 matricial keyboard, four 7 Segement displays and one microcontroller 18f4550. The problem occurs when i do an oparation using 2 operators and save the result in one variable tha was declared as unsigned char. After that i nedd see this result in the four displays but the problem is that im using an array named digitos and each position of this array shows that number in each display. I don't know how to charge this variable on the array taking each character and showing it.
thanks
I need hek with a C18 code that i'm writing now. well i need to create one calculator with a 4x4 matricial keyboard, four 7 Segement displays and one microcontroller 18f4550. The problem occurs when i do an oparation using 2 operators and save the result in one variable tha was declared as unsigned char. After that i nedd see this result in the four displays but the problem is that im using an array named digitos and each position of this array shows that number in each display. I don't know how to charge this variable on the array taking each character and showing it.
thanks