Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
main.cpp File Reference
#include <Arduino.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Macros

#define GREEN_LED_1   4
 
#define GREEN_LED_2   5
 
#define GREEN_LED_3   6
 
#define RED_LED_1   0
 
#define RED_LED_2   1
 
#define YELLOW_LED_1   2
 
#define YELLOW_LED_2   3
 
#define BUTTON_1   7
 
#define BUTTON_2   8
 
#define BUTTON_3   9
 
#define BUTTON_4   10
 
#define BUTTON_5   11
 
#define BUTTON_6   12
 
#define POTENCIO   14
 

Functions

void setup ()
 
void reset ()
 
void loop ()
 

Macro Definition Documentation

◆ BUTTON_1

#define BUTTON_1   7

Definition at line 10 of file main.cpp.

◆ BUTTON_2

#define BUTTON_2   8

Definition at line 11 of file main.cpp.

◆ BUTTON_3

#define BUTTON_3   9

Definition at line 12 of file main.cpp.

◆ BUTTON_4

#define BUTTON_4   10

Definition at line 13 of file main.cpp.

◆ BUTTON_5

#define BUTTON_5   11

Definition at line 14 of file main.cpp.

◆ BUTTON_6

#define BUTTON_6   12

Definition at line 15 of file main.cpp.

◆ GREEN_LED_1

#define GREEN_LED_1   4

Definition at line 3 of file main.cpp.

◆ GREEN_LED_2

#define GREEN_LED_2   5

Definition at line 4 of file main.cpp.

◆ GREEN_LED_3

#define GREEN_LED_3   6

Definition at line 5 of file main.cpp.

◆ POTENCIO

#define POTENCIO   14

Definition at line 16 of file main.cpp.

◆ RED_LED_1

#define RED_LED_1   0

Definition at line 6 of file main.cpp.

◆ RED_LED_2

#define RED_LED_2   1

Definition at line 7 of file main.cpp.

◆ YELLOW_LED_1

#define YELLOW_LED_1   2

Definition at line 8 of file main.cpp.

◆ YELLOW_LED_2

#define YELLOW_LED_2   3

Definition at line 9 of file main.cpp.

Function Documentation

◆ loop()

void loop ( )

Definition at line 47 of file main.cpp.

Here is the call graph for this function:

◆ reset()

void reset ( )

Definition at line 36 of file main.cpp.

Here is the caller graph for this function:

◆ setup()

void setup ( )

Definition at line 18 of file main.cpp.