3/2
Dependencies: mbed move4wheel2 EC CruizCore_R1370P
maxonsetting/maxonsetting.h@0:c61c6e4775ca, 2019-02-13 (annotated)
- Committer:
- la00noix
- Date:
- Wed Feb 13 03:02:19 2019 +0000
- Revision:
- 0:c61c6e4775ca
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
la00noix | 0:c61c6e4775ca | 1 | #ifndef HARUROBO2019_MAXONSETTING |
la00noix | 0:c61c6e4775ca | 2 | #define HARUROBO2019_MAXONSETTING |
la00noix | 0:c61c6e4775ca | 3 | #include "mbed.h" |
la00noix | 0:c61c6e4775ca | 4 | #include <stdarg.h> |
la00noix | 0:c61c6e4775ca | 5 | |
la00noix | 0:c61c6e4775ca | 6 | //#define DEBUG_MAXON // compile as debug mode (comment out if you don't use) |
la00noix | 0:c61c6e4775ca | 7 | |
la00noix | 0:c61c6e4775ca | 8 | #define DEBUG_PRINT // enable debug_printf |
la00noix | 0:c61c6e4775ca | 9 | |
la00noix | 0:c61c6e4775ca | 10 | void UserLoopSetting_maxon(); |
la00noix | 0:c61c6e4775ca | 11 | |
la00noix | 0:c61c6e4775ca | 12 | void DAC_Write(int16_t data, DigitalOut* DAC_cs); |
la00noix | 0:c61c6e4775ca | 13 | |
la00noix | 0:c61c6e4775ca | 14 | void MaxonControl(int16_t val_md1, int16_t val_md2, int16_t val_md3, int16_t val_md4); |
la00noix | 0:c61c6e4775ca | 15 | |
la00noix | 0:c61c6e4775ca | 16 | |
la00noix | 0:c61c6e4775ca | 17 | #ifdef DEBUG_MAXON |
la00noix | 0:c61c6e4775ca | 18 | void Debug_Control(); //おそらく動作する |
la00noix | 0:c61c6e4775ca | 19 | #endif |
la00noix | 0:c61c6e4775ca | 20 | |
la00noix | 0:c61c6e4775ca | 21 | |
la00noix | 0:c61c6e4775ca | 22 | #ifdef DEBUG_PRINT |
la00noix | 0:c61c6e4775ca | 23 | void debug_printf(const char* format,...); |
la00noix | 0:c61c6e4775ca | 24 | #endif |
la00noix | 0:c61c6e4775ca | 25 | |
la00noix | 0:c61c6e4775ca | 26 | #endif |