|
StepperII
Dual Axis Stepper Controller
|
00001 00002 #include "CBitio.h" 00003 00004 class CSlaveInterface 00005 { 00006 public: 00007 CBit(F, 4, RO) brakeBit; // Brake input bit 00008 CBit(B, 7, RO) dirBit; // Direction input bit 00009 CBit(C, 6, RO) stepBit; // OC3A on ATmega32U4 00010 CBit(F, 1, RO_AL) motionBit; // True during step pulse sequences 00011 00012 void init(void); 00013 };
1.7.3