Hi there everyone! I'm trying to make a "booking" application web-based for tutoring. Basically the students come in and they tick their rfid, based on the number of hours they want to study today with one of our tutors.
The amount can be, 1 hour, 1.5 hours and 2 hours and each student has a total of 10 hours at disposal.
So what I did was, start it from 10 and for each tick, drop it by 0,5.
All is stored online but the problem is that once it reaches 8.5 , it doesn't keep dropping, although the code itself seems to be working based on the output on the Serial Monitor!
These are the files used for NodeMCU and the php.
Any help would be really appreciated!!!!!!
RFID_NodeMCU.ino (3.98 KB)