TTK4155 Ping-pong project
eeprom.h
Go to the documentation of this file.
1 
5 #ifndef EEPROM_H_
6 #define EEPROM_H_
7 
8 bool EEPROM_save_score(int8_t data);
9 unsigned char EEPROM_read(unsigned int address);
10 void EEPROM_write(unsigned int address, unsigned char data);
11 
12 
13 #endif /* EEPROM_H_ */
void EEPROM_write(unsigned int address, unsigned char data)
Write data to EEPROM address.
Definition: eeprom.c:11
unsigned char EEPROM_read(unsigned int address)
Read value from EEPROM address.
Definition: eeprom.c:28
bool EEPROM_save_score(int8_t data)
Function to save highscore value to store.
Definition: eeprom.c:40