shivammun13
Newbie level 4
Hello, i have been trying to build a program which displays on an LCD display a counting which increments up by one digit and a pushbutton s1 is pressed and decrements by one digit when another button s2 is pressed. My goal is to make is start from an initial value of 10 and then decrements each time s2 is pressed. When it reaches zero it stops decrementing and displays a text. If s1 is pressed it should increment to the max value of 10.
Below is the code I have written in mikroC version 7.6. However, I cannot solve sprintf identifier problem, which you can see in the pics below. I am using the PIC16F877A mc and I have included the entire code.
Can someone help me in solving this? Thanks!
Below is the code I have written in mikroC version 7.6. However, I cannot solve sprintf identifier problem, which you can see in the pics below. I am using the PIC16F877A mc and I have included the entire code.
Can someone help me in solving this? Thanks!