#include #include #include SoftwareSerial sonamSerial(1,0); //Create serial object called 'sonamSeiral' and define RX,TX arduino pin numbers LiquidCrystal_I2C lcd(0x27,16,2); char val; //define variable 'val' as a character datatype void setup() { sonamSerial.begin(9600); //initiate serial object lcd.init(); // initialize the lcd lcd.backlight(); } void loop() { if (sonamSerial.available()) { //check to see if there is data on the serial line val = sonamSerial.read(); //if data on serial line...read serial data and assign to variable 'val' if(val == 'g') { //check if 'val' is equal to the letter 'g' lcd.setCursor(0,0); lcd.print("FabAcademy 2022"); lcd.setCursor(0,1); lcd.print("Week14 by Sonam"); } } }