RGB LED cube 5x5x5  1.0
Martin Stejskal, Schmidt Dominik
 All Files Functions Variables Macros Groups Pages
Modules
I/O symbolic names

Symbolic port and pin names. More...

Modules

 Data for red color
 
 Data for green color
 
 Data for blue color
 
 Pins for select wall
 
 Pins for select columns
 
 Pins connected to hardware PWM on AVR chip
 
 Pins connected to matrix keyboard
 
 UART pins
 
#define D_R0_pin   4
 
#define D_R1_PORT   G
 
#define D_R1_pin   3
 
#define D_R2_PORT   B
 
#define D_R2_pin   7
 
#define D_R3_PORT   B
 
#define D_R3_pin   6
 
#define D_R4_PORT   B
 
#define D_R4_pin   5
 
#define D_G0_pin   4
 
#define D_G1_PORT   B
 
#define D_G1_pin   3
 
#define D_G2_PORT   B
 
#define D_G2_pin   2
 
#define D_G3_PORT   B
 
#define D_G3_pin   1
 
#define D_G4_PORT   B
 
#define D_G4_pin   0
 
#define D_B0_pin   7
 
#define D_B1_PORT   E
 
#define D_B1_pin   6
 
#define D_B2_PORT   A
 
#define D_B2_pin   5
 
#define D_B3_PORT   A
 
#define D_B3_pin   4
 
#define D_B4_PORT   A
 
#define D_B4_pin   3
 
#define WALL0_pin   6
 
#define WALL1_PORT   A
 
#define WALL1_pin   7
 
#define WALL2_PORT   C
 
#define WALL2_pin   7
 
#define WALL3_PORT   C
 
#define WALL3_pin   5
 
#define WALL4_PORT   C
 
#define WALL4_pin   3
 
#define COLUMN0_pin   5
 
#define COLUMN1_PORT   D
 
#define COLUMN1_pin   7
 
#define COLUMN2_PORT   G
 
#define COLUMN2_pin   0
 
#define COLUMN3_PORT   G
 
#define COLUMN3_pin   1
 
#define COLUMN4_PORT   C
 
#define COLUMN4_pin   1
 
#define PWM_R_pin   3
 
#define PWM_G_PORT   E
 
#define PWM_G_pin   4
 
#define PWM_B_PORT   E
 
#define PWM_B_pin   5
 
#define KBRD_RD0_pin   5
 
#define KBRD_RD1_PORT   F
 
#define KBRD_RD1_pin   4
 
#define KBRD_RD2_PORT   F
 
#define KBRD_RD2_pin   3
 
#define KBRD_RD3_PORT   F
 
#define KBRD_RD3_pin   2
 
#define KBRD_RD4_PORT   F
 
#define KBRD_RD4_pin   1
 
#define KBRD_RD5_PORT   F
 
#define KBRD_RD5_pin   0
 
#define KBRD_PWR0_PORT   A
 
#define KBRD_PWR0_pin   2
 
#define KBRD_PWR1_PORT   A
 
#define KBRD_PWR1_pin   1
 
#define KBRD_PWR2_PORT   A
 
#define KBRD_PWR2_pin   0
 
#define KBRD_PWR3_PORT   F
 
#define KBRD_PWR3_pin   7
 
#define KBRD_PWR4_PORT   F
 
#define KBRD_PWR4_pin   6
 
#define RX_PC_pin   3
 
#define TX_PC_PORT   D
 
#define TX_PC_pin   2
 

Detailed Description

Symbolic port and pin names.

To every pin is there defined symbolic name. If this symbolic name is changed here, then is changed by preprocessor "everywhere"