Search found 1481 matches

by andrew
Tue Apr 15, 2025 1:41 pm
Forum: mLink
Topic: mLink 4x4 Matrix Keypad (HCMODU0188)
Replies: 12
Views: 15473

Re: mLink 4x4 Matrix Keypad (HCMODU0188)

Hi Phillip, you're missing the break statement at the bottom of your second case (case 2). Although this isn’t a problem for your sketch as it currently stands it will cause issues when you add more cases. The thing that will be causing your sketch to not work properly though is your missing the lin...
by andrew
Tue Apr 15, 2025 1:30 pm
Forum: Arduino
Topic: HCPCA9685 - Library for PCA9685 16ch 12bit PWM controller
Replies: 28
Views: 112876

Re: HCPCA9685 - Library for PCA9685 16ch 12bit PWM controller

The download link is at the bottom of the first post of this thread:

viewtopic.php?p=4956#p4956


Note, you will need to be logged in to download it.
by andrew
Fri Apr 11, 2025 6:24 pm
Forum: mLink
Topic: mLink 4x4 Matrix Keypad (HCMODU0188)
Replies: 12
Views: 15473

Re: mLink 4x4 Matrix Keypad (HCMODU0188)

If you're wanting to perform different actions based on different values entered into the keypad then you can use the 'switch' statement like this: #include "mLink.h" mLink mLink; #define I2C_ADD 0x55 char buffer[2]; // Buffer to hold each key press value byte index = 0; // Used to track if the 10's...
by andrew
Sun Apr 06, 2025 12:01 pm
Forum: mLink
Topic: mLink 4x4 Matrix Keypad (HCMODU0188)
Replies: 12
Views: 15473

Re: mLink 4x4 Matrix Keypad (HCMODU0188)

Here is a modified version of the example sketch to capture a 2 digit number: #include "mLink.h" mLink mLink; #define I2C_ADD 0x55 char buffer[2]; // Buffer to hold each key press value byte index = 0; // Used to track if the 10's or 1's key has been pressed byte value; // Used to store the final 2 ...
by andrew
Tue Mar 18, 2025 11:51 am
Forum: Sensors
Topic: ADS1115 I2C 16Bit ADC Module (HCMODU0098)
Replies: 5
Views: 41808

Re: ADS1115 I2C 16Bit ADC Module (HCMODU0098)

Hi Richard, you can find a schematic for the module in the first post of this thread. I've now also added simple diagram showing dimensions. In both cases you'll need to be logged in to see them.
by andrew
Tue Mar 11, 2025 9:32 am
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 139321

Re: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules

Have you considered adding these features to the Reference Guide for these modules? Or adding an Example sketch to the library? Hi Chris, yep, it’s on the list but thanks for reminding me. Just got a new sensor module to get out of the way first. The currently uploaded library does support these ne...
by andrew
Tue Mar 04, 2025 10:46 am
Forum: Modules
Topic: Hobby Components 2004 SmartLCD (HCMODU0163)
Replies: 6
Views: 45634

Re: Hobby Components 2004 SmartLCD (HCMODU0163)

Great stuff. Thanks for letting me know.
by andrew
Thu Feb 27, 2025 12:52 pm
Forum: Modules
Topic: Hobby Components 2004 SmartLCD (HCMODU0163)
Replies: 6
Views: 45634

Re: Hobby Components 2004 SmartLCD (HCMODU0163)

So just to follow up on this, I’ve taken a look and I have been able to replicate what you are reporting. I’ve pinned the issue down to a problem with the firmware, in particular it is being caused by a change to a UART library that caused the serial buffer to be cropped to 50 bytes. This change see...
by andrew
Wed Feb 26, 2025 3:55 pm
Forum: Modules
Topic: Hobby Components 2004 SmartLCD (HCMODU0163)
Replies: 6
Views: 45634

Re: Hobby Components 2004 SmartLCD (HCMODU0163)

Hi Roger, Although the display can handle serial data at various BAUD rates it is limited to how fast it can write the data to the display. With it being a character LCD this is of course relatively low compared to the BAUD rate. It does however have limited serial buffer. So as long as the buffer d...
by andrew
Wed Feb 26, 2025 10:26 am
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 139321

Re: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules

Great work and thank you for taking the time to support these products. I've now added the link for your github page to the first post of this thread and the RGBW thread.

Go to advanced search