affichage v7

Fork of AFFICHAGE by Projet robot

Revision:
7:8cadfcb7809f
Parent:
6:82586f775dc5
Child:
8:80a4449820ac
diff -r 82586f775dc5 -r 8cadfcb7809f Affichage.cpp
--- a/Affichage.cpp	Thu Feb 23 09:14:53 2017 +0000
+++ b/Affichage.cpp	Thu Mar 02 12:31:33 2017 +0000
@@ -42,7 +42,7 @@
     void Affichage::affichageUltrason(float distance){
         m3piA.cls();
         
-        if(distance <= 0){
+        if(distance >= 250){
             m3piA.print("  Rien  ",8);
             m3piA.locate(0,1);
             m3piA.print(" en vue ",8);