Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
macro.h@58:fb799e99a5f7, 2020-06-29 (annotated)
- Committer:
- annhandt09
- Date:
- Mon Jun 29 03:34:16 2020 +0000
- Revision:
- 58:fb799e99a5f7
- Parent:
- 55:fee62d8fd8fb
Fix macro.h; Add controller.p_des = controller.theta_mech + 0.710 for don't return when motor enable
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
annhandt09 | 55:fee62d8fd8fb | 1 | #ifndef macro_h |
annhandt09 | 55:fee62d8fd8fb | 2 | #define macro_h |
annhandt09 | 58:fb799e99a5f7 | 3 | #include "mbed.h" |
annhandt09 | 55:fee62d8fd8fb | 4 | #include "mode.h" |
annhandt09 | 58:fb799e99a5f7 | 5 | |
annhandt09 | 55:fee62d8fd8fb | 6 | extern Serial *pc ; |
annhandt09 | 55:fee62d8fd8fb | 7 | extern int io_mode; |
annhandt09 | 58:fb799e99a5f7 | 8 | #define Serial_printf(...) cond_printf(__VA_ARGS__) |
annhandt09 | 58:fb799e99a5f7 | 9 | void cond_printf(const char *format, ...); |
annhandt09 | 55:fee62d8fd8fb | 10 | #endif |