Search found 1481 matches
- Wed Feb 26, 2025 10:12 am
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
Anyway, things are working OK at the moment after several downloads. I will let you know if that changes. Great. There is still some odd issue going on with it and with your specific setup but as it’s not necessary hopefully omitting it solves your issue. Tbh, the only reason why that command exist...
- Tue Feb 25, 2025 3:33 pm
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
Yes. I have a dedicated breadboard setup and programs for my 2004 display testing and the code defining the display type has been in from the start. At one stage I did put delays in the setup code between all the display-related commands in case the issue might be with busy states not being handled...
- Tue Feb 25, 2025 10:05 am
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
Yes. I think the other thing we should not loose sight of is that power cycling the board with ESP32 is resetting the cursor direction bit. That’s a good point, I missed that one. I’ll add it to the list. With the 2-channel level-shifter I have been using, the ESP32 side was 3.290V, the LCD side wa...
- Mon Feb 24, 2025 8:26 am
- Forum: Modules
- Topic: Hobby Components 1602 Transfelctive SmartLCD (HCMODU0262)
- Replies: 2
- Views: 12245
Re: Hobby Components 1602 Transfelctive SmartLCD (HCMODU0262)
I’m afraid there is no python module currently available. You could first try the following code to see if your pico is seeing the display. import machine # Create I2C object i2c = machine.I2C(0, scl=machine.Pin(17), sda=machine.Pin(16)) # Print out any address found devices = i2c.scan() if devices:...
- Mon Feb 24, 2025 7:39 am
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
Thanks again for the answers. This conversation is getting a bit long so just for myself I’m going to summarise the issue: The issue is the cursor direction is sometimes being set to right to left. I.e. bit 0 of register CR2 is being set. This only happens occasionally and only whilst uploading a sk...
- Fri Feb 21, 2025 3:47 pm
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
Hi Roger, I have no idea why it would be doing that. Changing the cursor direction requires a specific write to the display's control register 2. That register only handles the display size and cursor direction so unless there is a need to specifically write to that register then it shouldn’t get ch...
- Fri Feb 21, 2025 9:51 am
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
. So, I am beginning to think the problem may be with my breadboard set-up. Maybe a slightly iffy jumper cable or a breadboard glitch. Anyway, all is working now, so I hope you haven't wasted any time on this. Ah ok, and no problem at all. I'll get the updates to this library and the smart LCD libr...
- Thu Feb 20, 2025 11:16 am
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
In the SmartLCD library there is a command to initialise the display and return it to the power-on state. Having something similar in the mLink library would hopefully overcome this issue. Would this be a possibility? It is a good point. I'll put a note in the firmware to an init in a future firmwa...
- Wed Feb 19, 2025 10:02 am
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
he example program from the Quick start PDF now compiles for ESP32 and prints stuff to the display. However, like the printFloat function with 0 decimal places, it prints a decimal point after the number Ah, it's a bug in the new function that was added. I've now uploaded the fix to the current ver...
- Tue Feb 18, 2025 4:20 pm
- Forum: Arduino
- Topic: mLink Arduino library for mLink modules
- Replies: 30
- Views: 111480
Re: mLink Arduino library for mLink modules
Hi Roger,
I'm guessing your pico treats an int as a 32 bit number rather than a 16 bit number so I've updated the library to handle this.
Here's the link:
https://hobbycomponents.com/downloads/m ... V2_2_1.zip
Note, the version number is the same (V2.2.1)
I'm guessing your pico treats an int as a 32 bit number rather than a 16 bit number so I've updated the library to handle this.
Here's the link:
https://hobbycomponents.com/downloads/m ... V2_2_1.zip
Note, the version number is the same (V2.2.1)