User manual
ASURO - 55
-
If the compiler displays another message, you will have to trace the error by analysing the source
code. It is a good idea to look at the rst line in the source, in which errors have been reported.
The editor displays the line number in the source in the left bottom corner of the display window.
After a succesful translation you may deliberately alter a word in the program source. Restart the
make procedure and check, in which line number the “error” has been reported.
Following an error free compilation, the new program may be ashed. Connect the IR-Transceiver,
start the Flash-Tool, select the newly created program test.hex and the correct COM-interface.
Place ASURO near the IR-Transceiver, activate the Programm button and wait until the transfer of
the le has been completed.
After the statusline in the display has reported a succesful completion of the le transfer, switch
OFF ASURO and switch ON again. Wait a second and check the status-LED switching to red.
Before altering the source code, some more programming background should be available. It is
advised to read the following chapter rst.
NOTE!
It is also possible to load the demo program test.c from the Folder ASURO_src\FirstTry;
This program contains the lines below;
#include “asuro.h”
int main(void) {
Init();
while(1);
return 0;
}
It can be easy changed into the program on page 54.
Software