RobotCore
Robot Core Documentation
Static Public Attributes | List of all members
robotCore.Device Class Reference

Device. More...

Static Public Attributes

static final int PA0 = 0
 
static final int PA1 = 1
 
static final int PA2 = 2
 
static final int PA3 = 3
 
static final int PA4 = 4
 
static final int PA5 = 5
 
static final int PA6 = 6
 
static final int PA7 = 7
 
static final int PA8 = 8
 
static final int PA9 = 9
 
static final int PA10 = 10
 
static final int PA11 = 11
 
static final int PA12 = 12
 
static final int PA13 = 13
 
static final int PA14 = 14
 
static final int PA15 = 15
 
static final int PB0 = 16
 
static final int PB1 = 17
 
static final int PB2 = 18
 
static final int PB3 = 19
 
static final int PB4 = 20
 
static final int PB5 = 21
 
static final int PB6 = 22
 
static final int PB7 = 23
 
static final int PB8 = 24
 
static final int PB9 = 25
 
static final int PB10 = 26
 
static final int PB11 = 27
 
static final int PB12 = 28
 
static final int PB13 = 29
 
static final int PB14 = 30
 
static final int PB15 = 31
 
static final int PC13 = 32
 
static final int PC14 = 33
 
static final int PC15 = 34
 
static final int Q1_INT = PB3
 
static final int Q1_DIR = PA15
 
static final int Q2_INT = PB4
 
static final int Q2_DIR = PA12
 
static final int Q3_INT = PB5
 
static final int Q3_DIR = PC13
 
static final int Q4_INT = PB1
 
static final int Q4_DIR = PC14
 
static final int Q5_INT = PB0
 
static final int Q5_DIR = PC15
 
static final int M1_1_DIR = PA4
 
static final int M1_1_PWM = PA1
 
static final int M1_2_DIR = PA5
 
static final int M1_2_PWM = PA0
 
static final int M2_1_DIR = PB15
 
static final int M2_1_PWM = PA3
 
static final int M2_2_DIR = PB14
 
static final int M2_2_PWM = PA2
 
static final int M3_1_DIR = PB13
 
static final int M3_1_PWM = PA7
 
static final int M3_2_DIR = PB12
 
static final int M3_2_PWM = PA6
 
static final int IO_1 = PA8
 
static final int IO_2 = PA9
 
static final int IO_3 = PA10
 
static final int IO_4 = PA11
 
static final int A1_1 = PA0
 
static final int A1_2 = PA1
 
static final int A2_1 = PA2
 
static final int A2_2 = PA3
 

Detailed Description

Device.

   This class controls the microcontroller device.

Member Data Documentation

◆ A1_1

final int robotCore.Device.A1_1 = PA0
static

Analog pin 1

◆ A1_2

final int robotCore.Device.A1_2 = PA1
static

Analog pin 2

◆ A2_1

final int robotCore.Device.A2_1 = PA2
static

Analog pin 3

◆ A2_2

final int robotCore.Device.A2_2 = PA3
static

Analog pin 4

◆ IO_1

final int robotCore.Device.IO_1 = PA8
static

General I/O pin 1

◆ IO_2

final int robotCore.Device.IO_2 = PA9
static

General I/O pin 2

◆ IO_3

final int robotCore.Device.IO_3 = PA10
static

General I/O pin 3

◆ IO_4

final int robotCore.Device.IO_4 = PA11
static

General I/O pin 4

◆ M1_1_DIR

final int robotCore.Device.M1_1_DIR = PA4
static

Direction pin for Motor 1 on connector 1

◆ M1_1_PWM

final int robotCore.Device.M1_1_PWM = PA1
static

PWM pin for Motor 1 on connector 1

◆ M1_2_DIR

final int robotCore.Device.M1_2_DIR = PA5
static

Direction pin for Motor 2 on connector 1

◆ M1_2_PWM

final int robotCore.Device.M1_2_PWM = PA0
static

PWM pin for Motor 2 on connector 1

◆ M2_1_DIR

final int robotCore.Device.M2_1_DIR = PB15
static

Direction pin for Motor 1 on connector 2

◆ M2_1_PWM

final int robotCore.Device.M2_1_PWM = PA3
static

PWM pin for Motor 1 on connector 2

◆ M2_2_DIR

final int robotCore.Device.M2_2_DIR = PB14
static

Direction pin for Motor 2 on connector 2

◆ M2_2_PWM

final int robotCore.Device.M2_2_PWM = PA2
static

PWM pin for Motor 2 on connector 2

◆ M3_1_DIR

final int robotCore.Device.M3_1_DIR = PB13
static

Direction pin for Motor 1 on connector 3

◆ M3_1_PWM

final int robotCore.Device.M3_1_PWM = PA7
static

PWM pin for Motor 1 on connector 3

◆ M3_2_DIR

final int robotCore.Device.M3_2_DIR = PB12
static

Direction pin for Motor 2 on connector 3

◆ M3_2_PWM

final int robotCore.Device.M3_2_PWM = PA6
static

PWM pin for Motor 2 on connector 3

◆ Q1_DIR

final int robotCore.Device.Q1_DIR = PA15
static

Direction pin for Quad Encoder #1

◆ Q1_INT

final int robotCore.Device.Q1_INT = PB3
static

Interrupt pin for Quad Encoder #1

◆ Q2_DIR

final int robotCore.Device.Q2_DIR = PA12
static

Direction pin for Quad Encoder #1

◆ Q2_INT

final int robotCore.Device.Q2_INT = PB4
static

Interrupt pin for Quad Encoder #2

◆ Q3_DIR

final int robotCore.Device.Q3_DIR = PC13
static

Direction pin for Quad Encoder #1

◆ Q3_INT

final int robotCore.Device.Q3_INT = PB5
static

Interrupt pin for Quad Encoder #3

◆ Q4_DIR

final int robotCore.Device.Q4_DIR = PC14
static

Direction pin for Quad Encoder #1

◆ Q4_INT

final int robotCore.Device.Q4_INT = PB1
static

Interrupt pin for Quad Encoder #4

◆ Q5_DIR

final int robotCore.Device.Q5_DIR = PC15
static

Direction pin for Quad Encoder #1

◆ Q5_INT

final int robotCore.Device.Q5_INT = PB0
static

Interrupt pin for Quad Encoder #5


The documentation for this class was generated from the following file: