![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
3/2
Dependencies: mbed move4wheel2 EC CruizCore_R1370P
Diff: maxonsetting/maxonsetting.h
- Revision:
- 0:c61c6e4775ca
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/maxonsetting/maxonsetting.h Wed Feb 13 03:02:19 2019 +0000 @@ -0,0 +1,26 @@ +#ifndef HARUROBO2019_MAXONSETTING +#define HARUROBO2019_MAXONSETTING +#include "mbed.h" +#include <stdarg.h> + +//#define DEBUG_MAXON // compile as debug mode (comment out if you don't use) + +#define DEBUG_PRINT // enable debug_printf + +void UserLoopSetting_maxon(); + +void DAC_Write(int16_t data, DigitalOut* DAC_cs); + +void MaxonControl(int16_t val_md1, int16_t val_md2, int16_t val_md3, int16_t val_md4); + + +#ifdef DEBUG_MAXON +void Debug_Control(); //おそらく動作する +#endif + + +#ifdef DEBUG_PRINT +void debug_printf(const char* format,...); +#endif + +#endif \ No newline at end of file