No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
FastPID @ c2359ee
docs
profile
test
.gitignore
.gitmodules
.travis.yml
Makefile
README.md
distance.c
distance.h
main.c
millis.c
millis.h
motor.c
motor.h
serial.c
serial.h

README.md

Configure an mbot to follow an object at a fixed distance. This project makes use of the motors, the ultrasonic sensor, and the on-board button.

See also

The Doxygen documentation for this project is available online at http://oddbit.com/avr-mbot-backoff.

Timers

  • TIMER0 is used for motor PWM
  • TIMER2 is used for millis/micros (TOIE2) and for driving the ultrasonic sensor (OCIE2A).