I'm using pic16f1937 and e-blocks, and flowcode7 software
I tried asking my programming teacher for help, but he was reluctant to help me with any tips, either because he didn't know how to do the exercise or he just did not want to help me.
I'm completely at a loss as to what I am required to do, in order to form multi-digit integer using keypad press inputs.
I'm completely stuck about how to save the different keypressses of the keypad into different variables... At the moment I think my only skill with the keypad was to get the keypad to print into the LCD, the currently pressed key. When no key is pressed, then the LCD prints nothing. I did manage to do the exercise B1. I can give that file B1 exercise, but I'm not sure it's going to help me much...
It looks I need to record each keypress, and save it into memory so that I can form a multi-digit integer. Then I compare that multidigit integer into some kind of function (the function itself measures the character length of the multi-digit integer) . When enough characters are being seen by the program, then the program prints a warning that LCD space is close to being exceeded.
I tried to google for help but I did not find anything relevant help with flowcode7 program... (most things which I found were older versions, and I cannot open any old flowcode files using the modern flowcode7 version)
https://www.matrixtsl.com/courses/itm/i ... =Labs.Lab9
description of the exercise:
Display the numbers that are pressed on the Keypad, on the LCD, one after the other. Use the character * for a space and when # is pressed, the LCD should be cleared. Limit the maximum number of characters on the LCD to 15. Display a warning text on line 2 of the LCD when this number gets exceeded. Download this program to the PIC and test it.