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
Diff: functions.h
- Revision:
- 0:ad334aa4c7c4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/functions.h Wed Mar 07 17:52:23 2018 +0000 @@ -0,0 +1,23 @@ +#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 \ No newline at end of file