Hello
CodeWarrior for HC08 V5.1 is configured to redirect stdout (printf) to a SCI.
If you want to see output of your printf on your LCD:
- Start CodeWarrior
- Open the file {Install}\lib\hc08c\src\termio.c
- Select "File" -> "Save As"
- Save the file in your project source directory and give is a meaningful name (for example
term_LCD.c)
- Add that file to your project
- Modify the implementation of the functions TERMIO_Init and TERMIO_PutChar to respectively
initialize the LCD device and send a character there.
- Define an empty TERMIO_GetChar as you will not be able to get input char from the LCD.
- Build the application.
That should do it.
CrasyCat