Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LiquidCrystal.h>
- LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
- int boutton = 0;
- void setup() {
- pinMode(,INPUT);
- lcd.begin(16, 2);
- lcd.setCursor(0, 0);
- lcd.print("Appuyer sur");
- lcd.setCursor(0, 1);
- lcd.print("le bouton !");
- }
- void loop() {
- boutton = digitalRead();
- if (boutton == HIGH) {
- lcd.clear();
- }
- }
- //code :
- //lcd.print("");
- //lcd.clear();
- //delay();
- //lcd.setCursor(0, 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement