__info__

Now we’re going to activate one of the LEDs, which we do in the setup() function.

The text in between the braces (curly brackets) {...} is executed automatically after turning BOB3 on once.

__info__

Our setup() function here contains exactly one statement:

bob3.setLed(EYE_1, WHITE);

This statement turns on BOB3’s first eye EYE_1 in the color white WHITE.

__task__

After compiling, you can download the file by clicking on the button part2.bob3.

The file will automatically be opened in the BobDude program. If it worked, BOB3’s eye #1 should be lit and white.



“Help! I can’t get it to work...“
Fahre mit der Maus über die Symbole!