代码搜索结果

找到约 7,992 项符合 Motor 的代码

motor.c

#include #include "Motor.h" // 整步状态表A static const unsigned char fullStepA[] = { 0x00, 0x00, 0x01, 0x01 }; // 半步状态表B static const unsigned char fullStepB[

motor.h

// DCO 频率 #define DCO_FREQ 1000000 // 看门狗在1秒钟内的中断数 #define ONE_SEC_CNT 512 // (1/512)*5 = ~10 #define DEBOUNCE_CNT 0x05 // 0x01:顺时针方向, 0x00:反时针方向 #defin

motor.c

#include #define DCO_FREQ 1000000 // DCO frequency #define ONE_SEC_CNT 512 // Number of WDT interrupts in 1 second #define DEBOUNCE_CNT 0x05 //