Skip to content

File defines.hpp

FileList > COD_ENG_OUT_arduino_code > include > defines.hpp

Go to the source code of this file

This file contains all the defines for the project. More...

Macros

Type Name
define A A0
define ANIMATION_SPEED_COMPUTER 15625
define ANIMATION_SPEED_DICE 3125
define ANIMATION_SPEED_MOVE 6250
define B A1
define BLINK_CYCLES_OCCUPIED_TOKEN 3
define BLINK_CYCLES_TOKEN -1
define BLINK_CYCLES_WINNER_ANIMATION -1
define BLUE_BRIGHT 0x001f
define BLUE_DARK 0x0002
define C A2
define CLK 11
define DEBOUNCE_TIME 0x1000
define DEBUG false
define DICE_MODE 0
define DICE_ROLLS_AT_SIX 1
define DICE_ROLLS_AT_START 3
define DICE_ROLLS_NORMAL 1
define FAST_BLINK 7813
define GREEN_BRIGHT 0x7e0
define GREEN_DARK 0xa0
define INITIAL_BOOL_BLINK_FLAG false
define INITIAL_COMPUTER_MODE LOGIC::Student
define INITIAL_COMPUTER_QUANTITY 0
define INITIAL_CURRENT_PLAYER_NUMBER 0
define INITIAL_CURRENT_TOKEN_NUMBER 0
define INITIAL_DICE_ROLL_COUNTER DICE_ROLLS_AT_START
define INITIAL_DICE_VALUE 0
define INITIAL_PLAYER_QUANTITY 2
define LAT A3
define OE 12
define RED_BRIGHT 0xf800
define RED_DARK 0x1000
define SLOW_BLINK 15625
define TIMING_DEBUG false
define TIMING_DEBUG_COUNT_TO 100
define TIMING_DEBUG_INTERN 0
define WHITE_BRIGHT 0xffff
define YELLOW_BRIGHT 0xffe0
define YELLOW_DARK 0x10a0

Detailed Description

Use this file to define all the ports, colors, animation speeds, initial values and debug modes.

Macro Definition Documentation

define A

#define A A0

define ANIMATION_SPEED_COMPUTER

#define ANIMATION_SPEED_COMPUTER 15625

define ANIMATION_SPEED_DICE

#define ANIMATION_SPEED_DICE 3125

define ANIMATION_SPEED_MOVE

#define ANIMATION_SPEED_MOVE 6250

define B

#define B A1
#define BLINK_CYCLES_OCCUPIED_TOKEN 3
#define BLINK_CYCLES_TOKEN -1
#define BLINK_CYCLES_WINNER_ANIMATION -1

define BLUE_BRIGHT

#define BLUE_BRIGHT 0x001f

define BLUE_DARK

#define BLUE_DARK 0x0002

define C

#define C A2

define CLK

#define CLK 11

define DEBOUNCE_TIME

#define DEBOUNCE_TIME 0x1000

define DEBUG

#define DEBUG false

define DICE_MODE

#define DICE_MODE 0

define DICE_ROLLS_AT_SIX

#define DICE_ROLLS_AT_SIX 1

define DICE_ROLLS_AT_START

#define DICE_ROLLS_AT_START 3

define DICE_ROLLS_NORMAL

#define DICE_ROLLS_NORMAL 1
#define FAST_BLINK 7813

define GREEN_BRIGHT

#define GREEN_BRIGHT 0x7e0

define GREEN_DARK

#define GREEN_DARK 0xa0
#define INITIAL_BOOL_BLINK_FLAG false

define INITIAL_COMPUTER_MODE

#define INITIAL_COMPUTER_MODE LOGIC::Student

define INITIAL_COMPUTER_QUANTITY

#define INITIAL_COMPUTER_QUANTITY 0

define INITIAL_CURRENT_PLAYER_NUMBER

#define INITIAL_CURRENT_PLAYER_NUMBER 0

define INITIAL_CURRENT_TOKEN_NUMBER

#define INITIAL_CURRENT_TOKEN_NUMBER 0

define INITIAL_DICE_ROLL_COUNTER

#define INITIAL_DICE_ROLL_COUNTER DICE_ROLLS_AT_START

define INITIAL_DICE_VALUE

#define INITIAL_DICE_VALUE 0

define INITIAL_PLAYER_QUANTITY

#define INITIAL_PLAYER_QUANTITY 2

define LAT

#define LAT A3

define OE

#define OE 12

define RED_BRIGHT

#define RED_BRIGHT 0xf800

define RED_DARK

#define RED_DARK 0x1000
#define SLOW_BLINK 15625

define TIMING_DEBUG

#define TIMING_DEBUG false

define TIMING_DEBUG_COUNT_TO

#define TIMING_DEBUG_COUNT_TO 100

define TIMING_DEBUG_INTERN

#define TIMING_DEBUG_INTERN 0

define WHITE_BRIGHT

#define WHITE_BRIGHT 0xffff

define YELLOW_BRIGHT

#define YELLOW_BRIGHT 0xffe0

define YELLOW_DARK

#define YELLOW_DARK 0x10a0

The documentation for this class was generated from the following file /home/runner/work/Arduino_DHBW_Spiel/Arduino_DHBW_Spiel/Engineering/COD_ENG_OUT_arduino_code/include/defines.hpp