Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Serial LCD con Arduino

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,514
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 21, 2009

El LCD muestra caracteres erróneos.

El Software:

void setup()
{
pinMode(13, OUTPUT);
Serial.begin(9600);
backlightOn();

}

void loop()
{
selectLineOne();
delay(500);
digitalWrite(13,HIGH);
Serial.print("Hola");
digitalWrite(13,LOW);
delay(1000);
clearLCD();
delay(300);




}

void selectLineOne(){ //puts the cursor at line 0 char 0.
Serial.print(0xFE, BYTE); //command flag
Serial.print(128, BYTE); //position
}

void clearLCD(){
Serial.print(0xFE, BYTE); //command flag
Serial.print(0x01, BYTE); //clear command.
}

void backlightOn(){ //turns on the backlight Serial.print(0x7C, BYTE); //command flag for backlight stuff Serial.print(150, BYTE); //light level.
}

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
Safety mode has hidden comments for this video. Show hidden comments
Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more