We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using 16x2 LCD with your library.
It prints correctly chars at first Line of LCD, but when I'm trying print to second Line:
lcd.setCursor(1,1); lcd.print(text, function (err) { if (err) { throw err; } }); it continuos printing text at first Line after the previous text.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue. Please post a complete program that can be used to reproduce the error.
Sorry, something went wrong.
The following program worked for me on a 16x2 LCD. It displays "Hello!" on the first line and "How are you?" on the second line.
var Lcd = require('lcd'), lcd = new Lcd({rs: 13, e: 19, data: [16, 26, 20, 21], cols: 16, rows: 2}); lcd.on('ready', function () { lcd.setCursor(0, 0); lcd.print('Hello!', function (err) { if (err) { throw err; } lcd.setCursor(0, 1); lcd.print('How are you?', function (err) { if (err) { throw err; } lcd.close(); }); }); });
Thank a lot. I have verified this snippet. It work as expected with printing on first and second line.
I will double check my code.
No branches or pull requests
I'm using 16x2 LCD with your library.
It prints correctly chars at first Line of LCD, but when I'm trying print to second Line:
lcd.setCursor(1,1);
lcd.print(text, function (err) {
if (err) {
throw err;
}
});
it continuos printing text at first Line after the previous text.
The text was updated successfully, but these errors were encountered: