Robotics Programming in C


Table of Contents

1. Goals of this Tutorial
2. Why C?
2.1. C is an open standard
2.2. C is an all-purpose language
2.3. C is fast
2.4. C can do anything
3. Vex Programming Options
3.1. MCC18 and MPLAB
3.2. easyC
3.3. RobotC
3.4. SDCC and OpenVex
4. Getting Started with Vex Programming
4.1. Robot
4.2. Programming Computer
4.3. Programming Tool Chain
4.4. Programming Hardware
5. The Compilation Process
6. The Basics
6.1. Unix Basics
6.2. Vex Beginner Code.
6.3. Editing the Code
7. Basics of Embedded C Programming
8. Streams
8.1. What is a Stream?
8.2. Standard Streams
9. Standard stream I/O functions
10. Data types, Variables, and Expressions
11. Functions and Macros
12. Programming Exercises
12.1. Attaining Wisdom
12.2. Maximizing Available Resources
12.3. Basic Motor Control
12.4. Basic Sensor Input

List of Tables

2.1. Language Speed Comparison
9.1. printf() place-holders
10.1. C Data Types