a

Dependencies:   EthernetInterface HTTPClient MFRC522 MbedJSONValue TextLCD mbed-rtos mbed

Fork of HEINEKEN_FRDM_K64F by Matija Slovic

Files at this revision

API Documentation at this revision

Comitter:
mslovic
Date:
Tue Mar 08 09:47:22 2016 +0000
Parent:
2:c8618b0777d3
Child:
4:29b3b82dec0a
Commit message:
Prototip working version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Mar 03 15:36:06 2016 +0000
+++ b/main.cpp	Tue Mar 08 09:47:22 2016 +0000
@@ -157,7 +157,7 @@
                 LedGreen = 1;
                 LedRed = 0;
                 FLOW.rise(&rpm);              
-                wait_ms(1000);                
+                wait_ms(1500);                // za 0,5 - 2000
                 FLOW.rise(NULL);              
 
                 //Calc = (Count * 60) / 7.5;                //flow rate in L/hour
@@ -168,7 +168,7 @@
                 VOL += Count;
                 //pc.printf("Sum = %.2f\n\r",sum);
                 
-                if(VOL>100) {
+                if(VOL>1600) {
                     ventil = 1;
                     ScreenTNX();             
                 }