Skip to content

fletchjp/Arduino-mLink

Repository files navigation

Arduino-mLink

Arduino codes using mLink components which connect using the I2C method.

I am going to put here some of the codes I have been developing for Arduinos to use mLink components.

These are developments in one way and another of the examples supplied by Hobby Components.

These codes all need the mLink Arduino library which will need to be downloaded and installed. The current version of the library is v2.2.2.

The mLink library has a lot of useful examples. One of them is the mLink I2C scanner which can be used to check the I2C addresses of the mLink components connected to an Arduino.

For each of the mLink devices there are pages on the Hobby Components web site which explain how to connect up the I2C wiring.

Many of my examples extend the mLink library examples and make use of the TaskManagerIO library to control the mLink device. This avoids the need to use delay() in the code. Examples using this library will have Task in the filename.

I am going to take this a step at a time so that it is easy for those not familiar to get the idea.

Please contact me in the case of difficulty.

John Fletcher ([email protected]}

mLink_Button_Pad_Read_Task

Demonstration of the mLink 6 Button component.

mLink_Char_LCD_Hello_World_Task

Demonstration of the mLink character LCD display. It also shows the way to use TaskManagerIO to run a task once only.

Notice that when using the mLink display there is no need to specify anything except the I2C address to get it running.

mLink_Button_Pad_Read_LCD_Task

This example combines the two previous examples to show how the button press can be displayed on the LCD.

Notice that each mLink device has to be given its I2C number as a parameter.

mLink_Button_Pad_Read_LCD_Task

This example adds a 4x4 Keypad module to the previous example to show how the button press and key press can be displayed on the LCD.

Notice that each mLink device has to be given its I2C number as a parameter.

Other Arduino codes

Here is a link to MERG-Arduino-Software which has other Arduino codes.

About

Arduino codes using mLink components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages