User's Guide

-13-
5. Compiling a New Program
To use the Waspmote IDE compiler we must run the executable script called Waspmote, which is in the folder where the
compiler has been installed.
Waspmote IDE is divided into 4 main parts which can be seen in the following gure.
IDE options
Buttons: opening and
uploading codes
Main Code
Output messages
Figure : IDE – Waspmote parts
The rst part is the menu which allows conguration of general parameters such as the selected serial port.
The second part is a button menu which allows compilation, opening, saving or loading the selected code on the board.
The third part contains the main code which will load in Waspmote and the fourth part shows us the possible compilation
and load errors, as well as the success messages if the process is carried out correctly.
The Waspmote IDE buttons panel allows certain functions to be carried out such as opening a previously saved code, creating a
new one or loading the code on the board. The following gure shows the panel and the functions of each button.