AX-12程序.docVIP

  • 5
  • 0
  • 约1.6万字
  • 约 7页
  • 2018-05-11 发布于河南
  • 举报
AX-12程序

C Language Example : Dinamixel access with Atmega128 /* * The Example of Dynamixel Evaluation with Atmega128 * Date : 2005.5.11 * Author : BS KIM */ /* * included files */ #define ENABLE_BIT_DEFINITIONS //#include io.h #include inttypes.h #include avr/io.h #include avr/interrupt.h #include avr/signal.h #define cbi(REG8,BITNUM) REG8 = ~(_BV(BITNUM)) #define sbi(REG8,BITNUM) REG8 |= _BV(BITNUM) typedef unsigned char byte; typedef unsigned int word; #define ON 1 #define OFF 0 #define _ON 0 #define _OFF 1 //--- Control Table Address --- //EEPROM AREA #define P_MODEL_NUMBER_L 0 #define P_MODOEL_NUM

文档评论(0)

1亿VIP精品文档

相关文档