Code


 Home Journals Images How To Code Links 


Square.c - Robot will attempt to move in a square pattern.

Straight.c - Robot will attempt to move in a straight line.

2bump.c - A nonpreemptive, nonmultitasking, two bumper code.

Bump_direction.c - Robot will go in the direction it was bumped.

Bump_multitasking.c - Preemptive, multitasking code for the four bumpers.

Circle_calibration.c - Line following program. Robot follows a black line on a white surface.

Photo_n_bump.c - Robot will follow a black line on a white surface while also checking its bumpers.

Flashlight_follow.c - Robot will follow a flashlight when pointed near the photocells.

Flashlight_n_bump.c - Robot will follow a flashlight when pointed near the photocells and can detect if it has run into something. Bumpers have priority over the photocells.