哈工大嵌入式实验8代码.docVIP

  • 6
  • 0
  • 约5.96千字
  • 约 12页
  • 2017-12-22 发布于河南
  • 举报
哈工大嵌入式实验8代码

哈工大嵌入式实验8代码 #include stdio.h #include sys/types.h #include sys/ioctl.h #include unistd.h #include fcntl.h #include string.h #include stdlib.h #include errno.h #include stdio.h #include linux/i2c-dev.h #include linux/i2c.h #define MOTOR_ZLDJ 0x01 #define MOTOR_BJDJ 0x02 int bjdj; bjdj = 0; char Z[4] = {0x45, 0xc4, 0xc1, 0x85}; char F[4] = {0x85, 0xc1, 0xc4, 0x45}; char words[3][32] = { ///////////////////正/////////////////// { 0x00, 0x02, 0x40, 0x02, 0x40, 0x02, 0x43, 0xFE, 0x40, 0x02, 0x40, 0x02, 0x40, 0x02, 0x7F, 0xFE, 0x41, 0x02, 0x41, 0x02, 0x41, 0x02, 0x41, 0x02, 0

文档评论(0)

1亿VIP精品文档

相关文档