This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to print to lcd screen on mcb2300 eval board

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.

Parents Reply Children
  • 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?