Added print to rfid and finger; fixed getIndex methods; added drink counts to read; added global person array
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
#ifndef BEERBOX_IS_INCLUDED
|
||||
#define BEERBOX_IS_INCLUDED
|
||||
|
||||
|
||||
#define NUM_OF_PEOPLE 25
|
||||
#define NUM_OF_DRINKS 10
|
||||
#define DRINK_NAME_MAX_LENGTH 13
|
||||
@@ -27,7 +21,6 @@ typedef struct{
|
||||
|
||||
typedef struct{
|
||||
Drink drinks[NUM_OF_DRINKS];
|
||||
int personCount;
|
||||
}Beerbox;
|
||||
|
||||
typedef struct{
|
||||
@@ -50,4 +43,3 @@ int update_pers_file(Beerbox *box, Person *aperson);
|
||||
|
||||
char* read_line_from_file(FILE *stream, char *str, int max_len);
|
||||
char* read_from_file_until(FILE *stream, char *str, int max_len, char until);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user