This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function startup { timer3.initialize(20000); }; | |
function left { timer3.pwm(5, arg(1)); }; | |
function center { timer3.pwm(4, arg(1)); }; | |
function right { timer3.pwm(3, arg(1)); }; | |
function centerleft { center(56) }; | |
function centerright { center(68) }; | |
function centercenter { center(62) }; | |
function rightforward { right(72) }; | |
function rightbackward { right(52) }; | |
function rightcenter { right(64) }; |