Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Date : 27-12-2016
- Time : 10:11 PM
- Auther: Safwan <s_afwan@hotmail.com>
- */
- // Incerting the LCD library
- #include <LiquidCrystal.h>
- // 16x2 LCD Display Pins -> Arduino Pins
- LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
- // Number of Seconds to turn the oven ON
- int S = 4;
- void setup() {
- // Setting the Size of the LCD Display to (16 Colomns) and (2 Rows) of characters
- lcd.begin(16, 2);
- // Starting a Serial communication between the computer and the Arduino to recieve the values of the flame detector
- Serial.begin(9600);
- lcd.setCursor(1, 0);
- lcd.print (" Team ( 1 )");
- lcd.setCursor(6, 1);
- lcd.print("");
- }
- void loop() {
- lcd.setCursor(1, 0);
- lcd.print ("Finally Working");
- lcd.setCursor(6, 1);
- lcd.print("");
- delay(1000);
- lcd.setCursor(7, 1);
- lcd.print(S);
- //delay(2); // Important don't delete this line
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement