satnogs-rotator-firmware
Loading...
Searching...
No Matches
rotator_pins_grbl.h File Reference

Go to the source code of this file.

Macros

#define M1IN1   2
 Motor 1 PWM pin.
 
#define M1IN2   5
 Motor 1 PWM pin.
 
#define M1SF   7
 Motor 1 digital input, status flag.
 
#define M1FB   A1
 Motor 1 analog input, current/load feedback.
 
#define M2IN1   3
 Motor 2 PWM pin.
 
#define M2IN2   6
 Motor 2 PWM pin.
 
#define M2SF   11
 Motor 2 digital input, status flag.
 
#define M2FB   A0
 Motor 2 analog input, current/load feedback.
 
#define MOTOR_EN   8
 Digital output, to enable the motors.
 
#define SW1   9
 Digital input, to read the status of end-stop for motor 1.
 
#define SW2   10
 Digital input, to read the status of end-stop for motor 2.
 
#define RS485_DIR   13
 Digital output, to set the direction of RS485 communication.
 
#define SDA_PIN
 I2C data pin.
 
#define SCL_PIN
 I2C clock pin.
 
#define PIN12   12
 General purpose I/O pin.
 
#define PIN13   13
 General purpose I/O pin.
 
#define A2   A2
 General purpose I/O & analog pin.
 
#define A3   A3
 General purpose I/O & analog pin.
 

Macro Definition Documentation

◆ A2

#define A2   A2

General purpose I/O & analog pin.

Definition at line 35 of file rotator_pins_grbl.h.

◆ A3

#define A3   A3

General purpose I/O & analog pin.

Definition at line 36 of file rotator_pins_grbl.h.

◆ M1FB

#define M1FB   A1

Motor 1 analog input, current/load feedback.

Definition at line 16 of file rotator_pins_grbl.h.

◆ M1IN1

#define M1IN1   2

Motor 1 PWM pin.

Definition at line 13 of file rotator_pins_grbl.h.

◆ M1IN2

#define M1IN2   5

Motor 1 PWM pin.

Definition at line 14 of file rotator_pins_grbl.h.

◆ M1SF

#define M1SF   7

Motor 1 digital input, status flag.

Definition at line 15 of file rotator_pins_grbl.h.

◆ M2FB

#define M2FB   A0

Motor 2 analog input, current/load feedback.

Definition at line 21 of file rotator_pins_grbl.h.

◆ M2IN1

#define M2IN1   3

Motor 2 PWM pin.

Definition at line 18 of file rotator_pins_grbl.h.

◆ M2IN2

#define M2IN2   6

Motor 2 PWM pin.

Definition at line 19 of file rotator_pins_grbl.h.

◆ M2SF

#define M2SF   11

Motor 2 digital input, status flag.

Definition at line 20 of file rotator_pins_grbl.h.

◆ MOTOR_EN

#define MOTOR_EN   8

Digital output, to enable the motors.

Definition at line 23 of file rotator_pins_grbl.h.

◆ PIN12

#define PIN12   12

General purpose I/O pin.

Definition at line 33 of file rotator_pins_grbl.h.

◆ PIN13

#define PIN13   13

General purpose I/O pin.

Definition at line 34 of file rotator_pins_grbl.h.

◆ RS485_DIR

#define RS485_DIR   13

Digital output, to set the direction of RS485 communication.

Definition at line 28 of file rotator_pins_grbl.h.

◆ SCL_PIN

#define SCL_PIN

I2C clock pin.

Definition at line 31 of file rotator_pins_grbl.h.

◆ SDA_PIN

#define SDA_PIN

I2C data pin.

Definition at line 30 of file rotator_pins_grbl.h.

◆ SW1

#define SW1   9

Digital input, to read the status of end-stop for motor 1.

Definition at line 25 of file rotator_pins_grbl.h.

◆ SW2

#define SW2   10

Digital input, to read the status of end-stop for motor 2.

Definition at line 26 of file rotator_pins_grbl.h.