Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
r2d.h
Go to the documentation of this file.
1#ifndef _R2D_H_
2#define _R2D_H_
3
4#define POWER_ON_DELAY_MS 15000
5
12
13// int check_bamocar();
14// void send_to_bamocar(int value_bamo);
15// int check_BMS();
16void play_r2d_sound();
17r2d_mode r2d_state_machine(r2d_mode cur_state, int apps_value);
18
19#endif // _R2D_H_
r2d_mode r2d_state_machine(r2d_mode cur_state, int apps_value)
Definition r2d.cpp:146
_r2d_mode
Definition r2d.h:6
@ R2D_MODE_STARTUP
Definition r2d.h:7
@ R2D_MODE_ERROR
Definition r2d.h:10
@ R2D_MODE_IDLE
Definition r2d.h:8
@ R2D_MODE_DRIVE
Definition r2d.h:9
enum _r2d_mode r2d_mode
void play_r2d_sound()
Definition r2d.cpp:124