| Wheelchair Control MCU firmware

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Enumerations Groups Pages
WheelchairControlMain.h
Go to the documentation of this file.
1
9 #ifndef _WHEELCHAIR_CONTROL //Define once
10 #define _WHEELCHAIR_CONTROL
11
12 //Includes
13 #include "Defines.h"
14 #include "SRF08.h"
15 #include "UART.h"
16 #include "MiscInits.h"
17
18 #include <math.h>
19 #include <util/delay.h>
20 #include <stdlib.h>
21 #include <avr/interrupt.h>
22 #include <avr/eeprom.h>
23
24 //Functions
25
29 void EEPROM_LoadVariables(void);
30
36 void EEPROM_WriteVariable(uint8_t* address, uint8_t data);
37
43 void EEPROM_WriteWord(uint16_t* address, uint16_t data);
44
48 void InitializeMCU(void);
49
53 void CalculateOdometry(void);
54
58 void RunRegulators(void);
59
60 #endif //_WHEELCHAIR_CONTROL