Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pub:arduino:codice_sorgente_arducameriere [2011/06/18 16:19]
atrent
pub:arduino:codice_sorgente_arducameriere [2011/06/18 16:56] (current)
atrent
Line 70: Line 70:
 // Globals (configurazione) // Globals (configurazione)
  
-const char* VERSION = "v104 sl-lab.it";​ // VERSION+const char* VERSION = "v105 sl-lab.it";​ // VERSION
  
  
Line 195: Line 195:
     lcd_clear();​     lcd_clear();​
     Serial.print(VERSION);​     Serial.print(VERSION);​
-    delay(1000);+    delay(500);
     lcd_clear();​     lcd_clear();​
  
Line 215: Line 215:
  
     if (results.value == IRcodes_exit) {     if (results.value == IRcodes_exit) {
-        delay(10000);+        delay(5000);
     }     }
  
Line 278: Line 278:
         break;         break;
     case DEBUG:     case DEBUG:
-      for(int j=10;​j<​=20;​j=j+2)+      for(int j=10;​j<​=20;​j=j+5)
       {       {
         for(int i=0;​i<​=13;​i++)         for(int i=0;​i<​=13;​i++)
Line 315: Line 315:
     //​Serial.println();​     //​Serial.println();​
     tagReader_reset();​     tagReader_reset();​
-    delay(1000);+    delay(500);
 } }
  
Line 381: Line 381:
     Serial.print(tagReader_tagIndex(tagCustomer));​     Serial.print(tagReader_tagIndex(tagCustomer));​
     //​Serial.print("​================"​);​     //​Serial.print("​================"​);​
-    delay(1000);+    delay(500);
     lcd_clear();​     lcd_clear();​
     ​     ​
Line 394: Line 394:
         Serial.print("​NO FREE BEER!!!!"​);​         Serial.print("​NO FREE BEER!!!!"​);​
         Serial.print("​================"​);​         Serial.print("​================"​);​
-        delay(2000);+        delay(1000);
         lcd_clear();​         lcd_clear();​
     }     }
Line 576: Line 576:
     Serial.print(0xFE,​ BYTE); ​  //​command flag     Serial.print(0xFE,​ BYTE); ​  //​command flag
     Serial.print(0x01,​ BYTE); ​  //​clear command.     Serial.print(0x01,​ BYTE); ​  //​clear command.
-    delay(10);+    delay(100);
 } }
  
pub/arduino/codice_sorgente_arducameriere.txt · Last modified: 2011/06/18 16:56 by atrent
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0