Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.h@232:47f6cf4f9126, 2018-11-10 (annotated)
- Committer:
- bwang
- Date:
- Sat Nov 10 08:37:08 2018 +0000
- Revision:
- 232:47f6cf4f9126
- Parent:
- 204:74714d52a936
11/10/2018 03:36 - restructured code to allow for proper encoder zeroing - MODE_ZERO and MODE_CHR execute run-once functions when they are entered, then drop to MODE_CFG
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| bwang | 42:030e0ec4eac5 | 1 | /*forward declarations for main.cpp |
| bwang | 42:030e0ec4eac5 | 2 | *include ONCE after all other headers in main.cpp |
| bwang | 42:030e0ec4eac5 | 3 | */ |
| bwang | 42:030e0ec4eac5 | 4 | |
| bwang | 42:030e0ec4eac5 | 5 | void commutate(); |
| bwang | 44:3fd6a43b91f0 | 6 | void slow_loop(); |
| bwang | 187:523cf8c962e4 | 7 | |
| bwang | 42:030e0ec4eac5 | 8 | void go_enabled(); |
| bwang | 42:030e0ec4eac5 | 9 | void go_disabled(); |
| bwang | 52:fd3d8df99287 | 10 | bool is_driving(); |
| bwang | 181:d3510c8beab6 | 11 | |
| bwang | 203:cb2a3ea31dce | 12 | bool mode_enables_output(); |
| bwang | 203:cb2a3ea31dce | 13 | bool mode_enables_logging(); |
| bwang | 232:47f6cf4f9126 | 14 | bool mode_overrides_timers(); |
| bwang | 203:cb2a3ea31dce | 15 | |
| bwang | 187:523cf8c962e4 | 16 | void update_velocity(); |
| bwang | 181:d3510c8beab6 | 17 | void log(); |
| bwang | 181:d3510c8beab6 | 18 | void rxCallback(); |