Device.
More...
|
static int | M1_1_DIR = Device.PA8 |
|
static final int | M1_1_PWM = Device.PA1 |
|
static int | M1_2_DIR = Device.PA9 |
|
static final int | M1_2_PWM = Device.PA0 |
|
static final int | M2_1_DIR = Device.PB15 |
|
static final int | M2_1_PWM = Device.PA3 |
|
static final int | M2_2_DIR = Device.PB14 |
|
static final int | M2_2_PWM = Device.PA2 |
|
static final int | M3_1_DIR = Device.PB13 |
|
static final int | M3_1_PWM = Device.PA7 |
|
static int | M3_2_DIR = Device.PC14 |
|
static final int | M3_2_PWM = Device.PA6 |
|
static int | A1_A = Device.PA4 |
|
static int | A1_B = Device.PA5 |
|
static int | A2_A = Device.PB0 |
|
static int | A2_B = Device.PB1 |
|
static final int | Q1_INT = Device.PB3 |
|
static final int | Q1_DIR = Device.PA15 |
|
static final int | Q2_INT = Device.PB4 |
|
static final int | Q2_DIR = Device.PA12 |
|
static final int | Q3_INT = Device.PB5 |
|
static final int | Q3_DIR = Device.PC13 |
|
static int | Q4_INT = Device.PB12 |
|
static int | Q4_DIR = Device.PC15 |
|
static final int | Q5_INT = Device.PB0 |
|
static int | Q5_DIR = Device.PB1 |
|
static int | IO_1 = PA11 |
|
static int | IO_2 = PA10 |
|
static int | IO_3 = PA9 |
|
static int | IO_4 = PA8 |
|
Device.
This class controls the microcontroller device.
◆ A1_A
int robotCore.Device.A1_A = Device.PA4 |
|
static |
Pin 1 for analog encoder 1
◆ A1_B
int robotCore.Device.A1_B = Device.PA5 |
|
static |
Pin 2 for analog encoder 1
◆ A2_A
int robotCore.Device.A2_A = Device.PB0 |
|
static |
Pin 1 for analog encoder 2. Note that this pin is shared with Q5
◆ A2_B
int robotCore.Device.A2_B = Device.PB1 |
|
static |
Pin 2 for analog encoder 2. Note that this pin is shared with Q5
◆ IO_1
int robotCore.Device.IO_1 = PA11 |
|
static |
◆ IO_2
int robotCore.Device.IO_2 = PA10 |
|
static |
◆ IO_3
int robotCore.Device.IO_3 = PA9 |
|
static |
General I/O pin 3. Note that this pin is shared with M1-1
◆ IO_4
int robotCore.Device.IO_4 = PA8 |
|
static |
General I/O pin 4. Note that this pin is shared with M1-2
◆ M1_1_DIR
int robotCore.Device.M1_1_DIR = Device.PA8 |
|
static |
Direction pin for motor 1-1. Note that this pin is shared with IO-4
◆ M1_1_PWM
final int robotCore.Device.M1_1_PWM = Device.PA1 |
|
static |
◆ M1_2_DIR
int robotCore.Device.M1_2_DIR = Device.PA9 |
|
static |
Direction pin for motor 1-2 Note that this pin is shared with IO-3
◆ M1_2_PWM
final int robotCore.Device.M1_2_PWM = Device.PA0 |
|
static |
◆ M2_1_DIR
final int robotCore.Device.M2_1_DIR = Device.PB15 |
|
static |
Direction pin for motor 2-1
◆ M2_1_PWM
final int robotCore.Device.M2_1_PWM = Device.PA3 |
|
static |
◆ M2_2_DIR
final int robotCore.Device.M2_2_DIR = Device.PB14 |
|
static |
Direction pin for motor 2-2
◆ M2_2_PWM
final int robotCore.Device.M2_2_PWM = Device.PA2 |
|
static |
◆ M3_1_DIR
final int robotCore.Device.M3_1_DIR = Device.PB13 |
|
static |
Direction pin for motor 3-1
◆ M3_1_PWM
final int robotCore.Device.M3_1_PWM = Device.PA7 |
|
static |
◆ M3_2_DIR
int robotCore.Device.M3_2_DIR = Device.PC14 |
|
static |
Direction pin for motor 3-2
◆ M3_2_PWM
final int robotCore.Device.M3_2_PWM = Device.PA6 |
|
static |
◆ Q1_DIR
final int robotCore.Device.Q1_DIR = Device.PA15 |
|
static |
Direction pin for quad encoder 1
◆ Q1_INT
final int robotCore.Device.Q1_INT = Device.PB3 |
|
static |
Interrupt pin for quad encoder 1
◆ Q2_DIR
final int robotCore.Device.Q2_DIR = Device.PA12 |
|
static |
Direction pin for quad encoder 2
◆ Q2_INT
final int robotCore.Device.Q2_INT = Device.PB4 |
|
static |
Interrupt pin for quad encoder 2
◆ Q3_DIR
final int robotCore.Device.Q3_DIR = Device.PC13 |
|
static |
Direction pin for quad encoder 3
◆ Q3_INT
final int robotCore.Device.Q3_INT = Device.PB5 |
|
static |
Interrupt pin for quad encoder 3
◆ Q4_DIR
int robotCore.Device.Q4_DIR = Device.PC15 |
|
static |
Direction pin for quad encoder 4
◆ Q4_INT
int robotCore.Device.Q4_INT = Device.PB12 |
|
static |
Interrupt pin for quad encoder 4
◆ Q5_DIR
int robotCore.Device.Q5_DIR = Device.PB1 |
|
static |
Direction pin for quad encoder 5. Note that this pin is shared with A2
◆ Q5_INT
final int robotCore.Device.Q5_INT = Device.PB0 |
|
static |
Interrupt pin for quad encoder 5. Note that this pin is shared with A2
The documentation for this class was generated from the following file:
- D:/SDASVN/2024/RaspberryPi/VSCode/Source/robotCore/Device.java