Add the following snippet to your HTML:
Controlling 16*2 LCD display using a smarphone, arduino and a HC05 bluetooth module.
Read up about this project on
watch tutorial
Youtube channel for more tutorials and projects
#include <LiquidCrystal.h> const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); void setup() { lcd.begin(16, 2); Serial.begin(9600); } void loop() { if (Serial.available()) { delay(100); lcd.clear(); while (Serial.available() > 0) { lcd.write(Serial.read()); } } }
Comments