Programming Tutorial

Blocks or Java?

Blocks — Visual drag-and-drop in your browser. Easiest way to start. This is what the course slideshows use.

OnBot Java — Text-based code. Same concepts, written as Java. Expand the "Level Up" section when you're ready.

Start with Blocks. Java is in a collapsible section at the bottom of each chapter.

🚀
Chapter 1: Getting Started3 Blocks sections
📝
Chapter 2: Your First OpMode 🧩2 Blocks sections + Java
🔧
Chapter 3: Servos 🧩1 Blocks sections + Java
Chapter 4: Motors 🧩1 Blocks sections + Java
📡
Chapter 5: Sensors 🧩2 Blocks sections + Java
🚗
Chapter 6: Drivetrain Control 🧩2 Blocks sections + Java
🦾
Chapter 7: Arm & Claw Control 🧩1 Blocks sections + Java
🤖
Chapter 8: Autonomous & Timing 🧩1 Blocks sections + Java
📊
Chapter 9: Encoders 🧩2 Blocks sections + Java
🎯
Chapter 10: Advanced Topics 🧩2 Blocks sections