Skip to content
New issue

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

Using 16x2LCD-Display only supports one line #1309

Closed
MKleinSB opened this issue May 31, 2023 · 3 comments
Closed

Using 16x2LCD-Display only supports one line #1309

MKleinSB opened this issue May 31, 2023 · 3 comments

Comments

@MKleinSB
Copy link
Contributor

Describe the bug
In Simulator the text is shown in the second line too but not in reality.

Used Extension: https://github.com/1010Technologies/pxt-makerbit-lcd1602/tree/master/jacdac

grafik
grafik

@pelikhan
Copy link
Member

pelikhan commented May 31, 2023 via email

@MKleinSB
Copy link
Contributor Author

OK, thanks! That should be the reason. So the extension has to support newline.

@RRWagner
Copy link

RRWagner commented Jun 1, 2023

Just a comment... in the actual MakerBit extension blocks for MakeCode, we don't use "0" for the LCD. Characters are 1-16 on line 1, and 17-32 on line 2. The use of "0" in arrays and in the LCD actually causes a lot of headaches and extra time in class for explaining what is not intuitive. Imagine, "Now students, to put the letter A at the 5th position, use 4". It "can" be explained, but a lot easier is, "Now students, put the letter A in the 5th position using 5", etc. For arrays, in actual classsroom work, we spent a lot of time trying to describe and fix bugs where students were struggling with the 5th element for example) being accessed with I=4. It all got much easier when we changed to 1-to-n counting schemes. just fyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants