Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********* Pleasedontcode.com **********
- Pleasedontcode thanks you for automatic code generation! Enjoy your code!
- - Terms and Conditions:
- You have a non-exclusive, revocable, worldwide, royalty-free license
- for personal and commercial use. Attribution is optional; modifications
- are allowed, but you're responsible for code maintenance. We're not
- liable for any loss or damage. For full terms,
- please visit pleasedontcode.com/termsandconditions.
- - Project: GPSTime
- - Source Code compiled for: Arduino Uno
- - Source Code created on: 2023-10-29 13:32:45
- - Source Code generated by: Francesco Alessandro
- ********* Pleasedontcode.com **********/
- /****** DEFINITION OF LIBRARIES *****/
- #include <Arduino.h>
- #include <Wire.h>
- #include <SoftwareSerial.h>
- #include <LiquidCrystal_I2C.h>
- #include <MicroNMEA.h>
- LiquidCrystal_I2C lcd(0x27, 20, 4);
- void setup()
- {
- lcd.begin(20, 4);
- lcd.backlight();
- Serial.begin(9600);
- }
- void loop()
- {
- if (Serial.available()) {
- delay(100);
- lcd.clear();
- while (Serial.available() > 0) {
- lcd.write(Serial.read());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement