Downloading The Program Into The Controller; Creating Your Own Programs - qfix crash-bobby Instructions Manual

Table of Contents

Advertisement

CHAPTER 4. FIRST STEPS
28

4.4 Downloading the program into the controller

After successful compilation, press F6 to transfer the program to the controller board.
Here, you also have to be sure that the correct controller is selected! The transfer takes
several seconds. Output messages of the used transfer program
avrdude
are displayed
in the output window.
After a successful download, the controller starts immediately running the program. E.g.
the
sample makes the four LEDs blink.
ledTest
The same steps (compilation plus download) can be performed for the other sample pro-
grams, too. A list of provided samples can be found in the appendix.
If there is a problem transferring the program to the board, please check the status of the
battery. The parallel interface LPT1 should be in mode "ECP" (refer to your BIOS manual).

4.5 Creating your own programs

In order to create a program yourself, the simplest way is to copy an already existing
program file (e.g. "ledTest.cc" to "myFirstTest.cc") and open this file in the editor.
For programming the controller, the C++ class
can be used. The methods of
BobbyBoard
this class are described in appendix C.1.

Advertisement

Table of Contents
loading

Table of Contents