We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi I am new to keil's uvision software, and as such have been trying to work through the demo programs from keil.
The problem I am having is that I want to display the A/D value of the potentiometer on the lcd screen on the mcb 2300 eval board. I have downloaded the blinky demo program from keil, and I can kinda see how the bar graph is displayed. But I am struggling to understand how to put the voltage on the top line of the lcd screen. I could really do with some help on this.
I have managed to use the ADC demo program to display a temp value on the uart output 2. Can I simply add this file to the blinky program and somehow print the value to the lcd screen?
Any assistance would be gratefully received.
Many thanks from a frustrated beginner.
Just an addendum - this world would need a lot fewer security updates if people learned to use snprintf() when it is available, instead of the older sprintf() function.
It doesn't matter if it is school work or critical software - how long do you think it will take you to find the bug when a buffer overflow in a sprintf() call results in one or more other variables getting magically changed just because they happen to be stored directly after the text buffer in memory?