Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NOKIA_5110 mbed
Fork of Lost-Found_BOX by
Revision 11:d773e5c4cc3a, committed 2015-12-08
- Comitter:
- mustwillza
- Date:
- Tue Dec 08 22:46:01 2015 +0000
- Parent:
- 10:323219f2a084
- Commit message:
- Real Server (w/Domain)
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Dec 08 22:23:05 2015 +0000
+++ b/main.cpp Tue Dec 08 22:46:01 2015 +0000
@@ -103,7 +103,7 @@
lock = 0; //Locked!
- getStatus("192.168.1.88","/l-f-box/getdata.php?check=1",stat_uid); //Recheck now status
+ getStatus("refinance-sogood.com","/secret/8266/getdata.php?check=1",stat_uid); //Recheck now status
if(isalnum((int)stat_uid[0]) && ItemCheck()){ //Check status has an item AND item in the box
mode = 0; //It have an item
@@ -136,7 +136,7 @@
submode ++;
}else{
wait(1);
- getStatus("192.168.1.88","/l-f-box/getdata.php?check=1",stat_uid); //Recheck now status
+ getStatus("refinance-sogood.com","/secret/8266/getdata.php?check=1",stat_uid); //Recheck now status
//Check for now available card..
if ( ! RfChip.PICC_IsNewCardPresent())
@@ -186,7 +186,7 @@
myLcd.DrawString("WAITING...");
myLcd.stop();
GetID(RFID);
- getDataHTTP("192.168.1.88","/l-f-box/getdata.php?rfid=",IDs,sid,name,tel); // Data of withdrawer
+ getDataHTTP("refinance-sogood.com","/secret/8266/getdata.php?rfid=",IDs,sid,name,tel); // Data of withdrawer
submode ++;
}
if(submode == 1){
@@ -204,7 +204,7 @@
myLcd.DrawString("PLEASE CLOSE THE DOOR");
myLcd.stop();
wait(6);
- updateWithdrawer("192.168.1.88","/l-f-box/update.php",sid);
+ updateWithdrawer("refinance-sogood.com","/secret/8266/update.php",sid);
wait(0.5);
myLcd.InitLcd();
myLcd.SetXY(20,2);
@@ -253,7 +253,7 @@
myLcd.DrawString("WAITING...");
myLcd.stop();
GetID(RFID);
- getDataHTTP("192.168.1.88","/l-f-box/getdata.php?rfid=",IDs,sid,name,tel);
+ getDataHTTP("refinance-sogood.com","/secret/8266/getdata.php?rfid=",IDs,sid,name,tel);
submode ++;
wait(0.5);
@@ -270,7 +270,7 @@
myLcd.stop();
}
if(submode == 3){ // Show depositor data on screen
- newDepositor("192.168.1.88","/l-f-box/update.php",sid);
+ newDepositor("refinance-sogood.com","/secret/8266/update.php",sid);
lock =1; //Unlocked the box!
wait(0.5);
myLcd.InitLcd();
