3/20 13:39

Dependencies:   mbed move4wheel2 EC CruizCore_R1370P

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers maxonsetting.h Source File

maxonsetting.h

00001 #ifndef HARUROBO2019_MAXONSETTING
00002 #define HARUROBO2019_MAXONSETTING
00003 #include "mbed.h"
00004 #include <stdarg.h>
00005 
00006 //#define DEBUG_MAXON                              // compile as debug mode (comment out if you don't use)
00007 
00008 #define DEBUG_PRINT                             // enable debug_printf
00009 
00010 void UserLoopSetting_maxon();
00011 
00012 void DAC_Write(int16_t data, DigitalOut* DAC_cs);
00013 
00014 void MaxonControl(int16_t val_md1, int16_t val_md2, int16_t val_md3, int16_t val_md4);
00015 
00016 
00017 #ifdef DEBUG_MAXON
00018 void Debug_Control();  //おそらく動作する
00019 #endif
00020 
00021 
00022 #ifdef DEBUG_PRINT
00023 void debug_printf(const char* format,...);
00024 #endif
00025 
00026 #endif