![]() |
Forum Index : Microcontroller and PC projects : 1x16 LCD
Author | Message | ||||
mace Newbie ![]() Joined: 04/03/2023 Location: FinlandPosts: 11 |
Hi. I Have 1x16 LCD. When using pico intepreter, first eight characters is displaying,rest not. I know reason for this. I can manipulate program to display all 16 characters. But,is there easy way on mmbasic to display all 16 characters? Thanks. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 8173 |
Are you working from the MMBasic manual? As far as I know there's nothing that would prevent you from displaying all 16 characters at once provided the display is the correct sort and has been connected and initialised properly. In your case "line" will always be 1. If "pos" is 1 it starts at the first character on the line. "data$" can then be a string of up to 16 characters for a 16 character display. Unfortunately I haven't got a display to test with at the moment. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
mace Newbie ![]() Joined: 04/03/2023 Location: FinlandPosts: 11 |
Ok. I mean like this https://gcbasic.sourceforge.io/help/_lcd_variant.html Thanks |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1144 |
As your link shows, position 9 is not immediately after position 8. Instead, it is in memory location 40. (Might be hex, not decimal.) Visit Vegipete's *Mite Library for cool programs. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 8173 |
There's no equivalent of LCD_VARIANT in MMBasic. All you can do is add a constant to pos when necessary. You need all the details of that particular LCD to see how the memory is laid out. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |