#include <Adafruit_LiquidCrystal.h>
// Define the text to scroll
const char scrollingText[] = "Hello I'm ChatGPT 3.5";
Adafruit_LiquidCrystal lcd_1(0);
void setup() {
lcd_1.begin(16, 2);
lcd_1.setBacklight(1); // Turn on the backlight
}
void loop() {
for (int i = 0; i < sizeof(scrollingText) - 15; i++) { // Scroll loop
lcd_1.clear();
lcd_1.setCursor(0, 0);
lcd_1.print(scrollingText + i);
delay(500); // Adjust the delay to control the scrolling speed
}
}