Arduino projects, running stopwatch on arduino.

Components:

* Arduino (any version)
* 2 x Pushbutton
* 1 kOhm resistor
* 10 kOhm Pot
* Jumper wires
* LCD 16x2
* Breadboard

Login to post a comment...

professeur116 2 years, 11 months ago

Arduino : 1.6.12 (Windows 10), Carte : "Arduino/Genuino Uno" C:\Users\Jerome\Desktop\Programmation\Arduino\Chronometre\Chronometre\Chronometre.ino: In function 'void setup()': Chronometre:7: error: 'lcd' was not declared in this scope lcd.begin (16, 2); ^ C:\Users\Jerome\Desktop\Programmation\Arduino\Chronometre\Chronometre\Chronometre.ino: At global scope: Chronometre:20: error: 'a' does not name a type a double i = 0; ^ Chronometre:21: error: 'doubles' does not name a type doubles a = Millis (); ^ Chronometre:22: error: 'c' does not name a type c doubles; ^ C:\Users\Jerome\Desktop\Programmation\Arduino\Chronometre\Chronometre\Chronometre.ino: In function 'void loop()': Chronometre:25: error: 'lcd' was not declared in this scope lcd.clear (); ^ Chronometre:27: error: 'retard' was not declared in this scope retard (100); ^ Chronometre:33: error: 'a' was not declared in this scope a = Millis (); ^ Chronometre:33: error: 'Millis' was not declared in this scope a = Millis (); ^ Chronometre:34: error: 'tandis' was not declared in this scope tandis que (digitalRead (9) == HIGH) ^ Chronometre:52: error: expected ';' before 'que' tandis que (digitalRead (8) == HIGH) ^ exit status 1 'lcd' was not declared in this scope Ce rapport pourrait être plus détaillé avec l'option "Afficher les résultats détaillés de la compilation" activée dans Fichier -> Préférences.

Hassan Mohamed 3 years ago

Hassan Mohamed
@fahd911 thnQ

fahd911 3 years ago

its good