System to manage inventory for a cooler. Allows real time check in of products via RFID, as well as check out. Also includes a scale to weigh products upon check out, and has a real time temperature tracking system that sounds an alert if the cooler gets too hot.

Dependencies:   DHT11 HX711 MFRC522 SDFileSystemEditied mbed

functions.h

Committer:
vincentrc
Date:
2018-03-07
Revision:
0:ad334aa4c7c4

File content as of revision 0:ad334aa4c7c4:

#ifndef functions_H
#define functions_H

#include "HX711.h"

struct product* addproduct(struct product *head);
struct product* sortlist(struct product *head);
struct product* displaylist(struct product *head);
void freelist(struct product *head);
void savelist(struct product *head);
struct product* loadlist();
struct product* findbyname(char name[50], struct product *head);
struct product* findbyid(int id[10], struct product *head);
struct product* checkin(struct product *head);
struct product* checkout(struct product *head, HX711 scale1);
float scale(HX711 scale);
void timer_temp_hum_isr();
void getstatus();
void setmax();
struct product* findrfid(int rfid[4], struct product *head);


#endif