technoshop.laser_turret_debug/config.h

30 lines
539 B
C

#ifndef CONFIG_H
#define CONFIG_H
#define BAUDRATE (9600)
// Pins
#define PIN_PB0 (8)
#define PIN_PD6 (6)
#define PIN_PD7 (7)
#define PIN_PD3 (3)
#define PIN_PB1 (9)
#define PIN_PB2 (10)
#define PIN_PD4 (4)
#define PIN_PD2 (2)
#define PIN_MOSI (11)
#define PIN_Y_PULSE (PIN_PB0)
#define PIN_Y_ENABLE (PIN_PD6)
#define PIN_Y_DIRECTION (PIN_PD7)
#define PIN_Y_HOME (PIN_PD3)
#define PIN_X_PULSE (PIN_PB2)
#define PIN_X_ENABLE (PIN_PB1)
#define PIN_X_DIRECTION (PIN_MOSI)
#define PIN_X_HOME (PIN_PD4)
#define PIN_LASER (PIN_PD2)
#endif