From 6f5ccae11ff27a00caafee788dba134e02e224e2 Mon Sep 17 00:00:00 2001 From: Prathima Kadari Date: Wed, 2 Jun 2021 19:00:20 +0530 Subject: [PATCH] Added hello world program in arduino --- HelloWorld.ino | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 HelloWorld.ino diff --git a/HelloWorld.ino b/HelloWorld.ino new file mode 100644 index 0000000..4566bcf --- /dev/null +++ b/HelloWorld.ino @@ -0,0 +1,14 @@ +// Prathima Kadari - Hello World in Arduino - Display on Liquid Crystal + +#include + +LiquidCrystal lcd(12, 11, 5, 4, 3, 2); + +void setup() { + lcd.begin(16, 2); + lcd.print("Hello, World!"); +} + +void loop() { + lcd.setCursor(0, 1); + lcd.print(millis() / 1000);