Assign pins to the correct pins for motor control
This commit is contained in:
parent
f455a6d707
commit
899b52777a
|
@ -13,13 +13,13 @@ class ContactPrinter {
|
|||
const uint16_t serial_delay = 5;
|
||||
const uint16_t baud = 115200;
|
||||
|
||||
const uint8_t takeup_picture_pin_enable = 7;
|
||||
const uint8_t takeup_picture_pin_cw = 8;
|
||||
const uint8_t takeup_picture_pin_ccw = 9;
|
||||
const uint8_t takeup_picture_pin_enable = 23;
|
||||
const uint8_t takeup_picture_pin_cw = 22;
|
||||
const uint8_t takeup_picture_pin_ccw = 21;
|
||||
|
||||
const uint8_t takeup_stock_pin_enable = 12;
|
||||
const uint8_t takeup_stock_pin_cw = 10;
|
||||
const uint8_t takeup_stock_pin_ccw = 11;
|
||||
const uint8_t takeup_stock_pin_enable = 19;
|
||||
const uint8_t takeup_stock_pin_cw = 18;
|
||||
const uint8_t takeup_stock_pin_ccw = 5;
|
||||
|
||||
const uint32_t pwm_frequency = 30000;
|
||||
const uint8_t takeup_picture_pwm_channel = 1;
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
*
|
||||
* Pins
|
||||
*
|
||||
* 7 Takeup Picture Enable
|
||||
* 8 Takeup Picture Clockwise
|
||||
* 9 Takeup Picture Counter Clockwise
|
||||
* 23 Takeup Picture Enable - set duty rate
|
||||
* 22 Takeup Picture Clockwise
|
||||
* 21 Takeup Picture Counter Clockwise
|
||||
*
|
||||
* 12 Takeup Stock Enable - set duty speed
|
||||
* 10 Takeup Stock Clockwise
|
||||
* 11 Takeup Stock Counter Clockwise
|
||||
* 19 Takeup Stock Enable - set duty rate
|
||||
* 18 Takeup Stock Clockwise
|
||||
* 5 Takeup Stock Counter Clockwise
|
||||
*
|
||||
* 13 Drive Enable
|
||||
* 12 Drive Forward (Clockwise)
|
||||
|
|
Loading…
Reference in New Issue