Question

arduino : write a function that print out on the lcd screen the following message hello...

arduino : write a function that print out on the lcd screen the following message hello world
please use function

0 0
Add a comment Improve this question Transcribed image text
Answer #1

#include <LiquidCrystal.h>

const int a = 12, b = 11, c = 5, d = 4, e = 3, f = 2;

LiquidCrystal lcd(a,b,c,d,e,f);

void setup()

{
  lcd.begin(16, 2);
  lcd.print("hello, world!");
}

void loop() {
lcd.noDisplay();
  delay(500);
lcd.display();
  delay(500);
}

Add a comment
Know the answer?
Add Answer to:
arduino : write a function that print out on the lcd screen the following message hello...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT