A - Explorer Program
A step-by-step explanation of how to programming Tobbie II to explore the world by itselves!
Raw HEX code: Download Here
Summary: Learn how to programming Tobbie to explore the world!
Step 1: Create Variable GO and set GO = 0

1 - Create a variable

2 - You will be ask to add variable name then click OK

3 - Scroll down to see the option to tell Tobbie what is the value of variable GO


4 - Let's see the complete block of code

Step 2: Programming how Tobbie can wake up when you press button A
1 - We want Tobbie can react and show us the count down that Tobbie is going to explore the world so we can set Tobbie on a flat surface

2 - Then we can add count down by programming the LED of Tobbie

3 - But we also want Tobbie to make some noise once its ready to depart to their adventure!

4 - After pausing for 100ms (it is very quick), Tobbie will add one to the variable GO (this mean Tobbie has finished one task!)
5 - Let's see the complete block of code

Step 3: Programming how Tobbie can stop explore when you press button B
1 - We want Tobbie can stop exploring to conserve energy when pressing button B

2 - Since Tobbie is going to stop, we need to tell Tobbie to set variable GO back to 0 (mean Tobbie has no task to do. For now! )

3 - We also want Tobbie make some noise and show that on its LED indicator

4 - Let's see the complete block of code

Step 4: Tell Tobbie what to do. And Tobbie will do it. Forever!









7 - Let's see the complete block of code

Last updated