Thanks for your idea. I may change my code if I have issues. Oh yes... I still do... will change the code later.
@NI$HANT
I agree with you. I may have to change my code for a modular method of coding. I have to many if()'s. I will have to do that later.
Updated :
I did re-code the add section, no modular method yet. Still have an issues with the keypad. I have : Double entry and wrong entry. All intermittents problems. I may have to re-design the keypad circuit. Right now, it is not reliable.
As for the code, after the Add section change, still some bugs... But I like the new methode of adding. Just like :
Carry : 1111
1234 <-- Array call : digit_number[]
- 9876 <-- Array call : add_number[]
Last Digit ->11110 The last digit is the OverFlow. So I add two array + the carry. That is the logic behind the Add routine.
The section that work : entry routine, the clear routine, keypad routine, convert routine and the display routine.
I will use the Serial Monitor to see what is going on.
The updated code is the next post.
Thank for the idea. I will apreaciated that you guys check my code.