Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:arduino:examples [2017/08/09 07:26] kaupo.raiden:arduino:examples [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 457: Line 457:
    
   // Print out explaining text   // Print out explaining text
-  lcd.print("Kaugus:");+  lcd.print("Dist:");
   lcd.setCursor(0, 1);   lcd.setCursor(0, 1);
-  lcd.print("Naeb:");+  lcd.print("Object:");
 } }
 void loop()  void loop() 
Line 482: Line 482:
    
   // when infrared sensor does not see anything print out "no", otherwise print out "yes".   // when infrared sensor does not see anything print out "no", otherwise print out "yes".
-  if(infrapunaNaebObjekti == 1) lcd.print("no "); +  if(proximity == 1) lcd.print("no "); 
   else lcd.print("yes");    else lcd.print("yes"); 
    
en/arduino/examples.1502263580.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0