Hello
According to the STM32-Primer manual point 5.2 "Developing your first CircleOS application" I have to use the DRAW_DisplayString CircleOS service to display the “msg” string variable
I have just created on the STM32-Primer display:
DRAW_DisplayString( 5, 20, msg, sizeof(msg)); // X, Y, string, length
But where must I type the command above? In what function, and in what line in the function?
Application_Ini?
Application_Handler?
MsgVersion?
First I typed it in the function MsgVersion, below the lines:
DRAW_DisplayString(5,60,"CircleOS",17);
DRAW_DisplayString(80,60,UTIL_GetVersion(),3);
DRAW_DisplayString(5,34,NEEDEDVERSION,3);
DRAW_DisplayString(40,34," required",12);
Then, when I debugged it, I got some error messages like:
C:\Program Files\Raisonance\Ride\examples\Application.c:38: error: 'msg' undeclared (first use in this function)
C:\Program Files\Raisonance\Ride\examples\Application.c:38: error: (Each undeclared identifier is reported only once
C:\Program Files\Raisonance\Ride\examples\Application.c:38: error: for each function it appears in.)
I'm sorry if it seems silly, but I have never done anything like this at all.
Awaiting you answers.
Last edited by vello66 (2008-12-31 12:06:07)