改良版位置補正プログラム動作未確認

Dependencies:   mbed move4wheel2 EC CruizCore_R1370P

maxonsetting/maxonsetting.h

Committer:
la00noix
Date:
2019-02-13
Revision:
0:c61c6e4775ca

File content as of revision 0:c61c6e4775ca:

#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