Search
Expected results:
The NUCLEO will interact with your C program and this program expects a file name to be given on the command line. The sample of this file is as follows:
*IDN? DRAW:*IDN? DRAW:CLEAR 2 DRAW:SETTEXTCOLOR 3 DRAW:CIRCLE 49,20 DRAW:CIRCLE 79,20,10 DRAW:SETTEXTCOLOR 2 DRAW:LINE 55,40,60,45 DRAW:LINE 68,45,73,40 DRAW:LINE 60,45,68,45 DRAW:SETFONT 12 DRAW:TEXT 64,120,Nucleo RULEZ!,1
All handlers for single commands should be implemented. When command is not recognized by NUCLEO return “Wrong command\r\n” and the C program