More examples

Now that you have learned how to write and save programs to the robot, it is time to explore Yozh capabilities. To help with that, we have provided a number of examples, which can be found in examples folder of the Yozh library you had downloaded previously. Try opening and running them to see what the robot can do.

Below is the list of provided examples (as of July 1, 2023):

  • basic_test.py - basic test of robot operation, including OLED display, LEDs, and buttons

  • motor_test.py - testing basic operation of motors and encoders

  • servo_test.py - testing servos (if you have any attached).

  • drive_test.py - testing higher-level drive commands, such as go forward for 10cm or turn 90 degrees

  • distance_test.py - testing operation of front-facing distance sensors

  • linearray_test.py - testing reflectance sensor array

All of these examples are amply commented, so it should be easy to understand how the code works and how to modify it.