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
| /** | |
| * Copyright (c) 2015-present, Facebook, Inc. | |
| * All rights reserved. | |
| * | |
| * This source code is licensed under the BSD-style license found in the | |
| * LICENSE file in the root directory of this source tree. An additional grant | |
| * of patent rights can be found in the PATENTS file in the same directory. | |
| * | |
| * @format | |
| * @flow |
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
| ;This program includes a basic movement API that allows the | |
| ; user to specify a desired heading and speed, and the API will | |
| ; attempt to control the robot in an appropriate way. | |
| ; Also includes several math subroutines. | |
| ORG 0 ; Jump table is located in mem 0-4 | |
| ; This code uses the timer interrupt for the control code. | |
| JUMP Init ; Reset vector | |
| RETI ; Sonar interrupt (unused) | |
| JUMP CTimer_ISR ; Timer interrupt |
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
| ;This program includes a basic movement API that allows the | |
| ; user to specify a desired heading and speed, and the API will | |
| ; attempt to control the robot in an appropriate way. | |
| ; Also includes several math subroutines. | |
| ORG 0 ; Jump table is located in mem 0-4 | |
| ; This code uses the timer interrupt for the control code. | |
| JUMP Init ; Reset vector | |
| RETI ; Sonar interrupt (unused) | |
| JUMP CTimer_ISR ; Timer interrupt |