Page 5
Copyright © 2017 Matrix Technology Soluons Limited www.matrixtsl.com
Language independent, agnosc, language neutral,
plaorm independent - what do these terms mean?
Basically it means you are not forced to use a certain
programming language or plaorm to control the MIAC.
This is because the MIAC AllCode oers an Applicaon
Program Interface (API) that enables you to interact with the
MIAC using a set of simple rounes or protocols.
If you have not heard of APIs then this secon will help
you understand how to make use of it with the MIAC.
One way to explain this is to think about how a TV remote controller works. Although
modern televisions have touch buons or so-touch areas along the edges of the screen,
most people nd it more convenient to use a remote controller to turn the TV On/O,
change a channel, adjust the volume or brightness sengs, etc.
A TV remote is a very simple device consisng of a keypad
and an infrared light beam. When a buon is pressed its
value is encoded and used to send a binary paern, via the
infrared beam, to the TV. The TV decodes the received
paern and carries out the required funcon.
If for some reason the TV remote failed it would be an easy
task to replace it with a new one, or even purchase a
universal remote (if you had a number of devices to control).
There are Apps that can be used to turn smart phones into a TV remote controller and other hardware is
available that can send out TV remote codes. The only crical part is to
send the correct paern (i.e. command) when it is required.
So you could say the TV has an API that allows a remote controller (whatever form it might
take) to control the intelligence or electronic control systems within the television.
The API, as used on the MIAC AllCode, oers the same plaorm and language independence as the TV
example described above. The dierence is the transmission medium for the MIAC is Bluetooth or Wi
rather than an infrared beam. This means providing you have a Bluetooth or Wi facility on your system,
you have the freedom to use your favourite plaorm and programming language to interact with the
MIAC.
As an example, you might choose to use a Bluetooth enabled mobile phone to control the
MIAC. Alternavely, a Wi enabled PC/Mac/Raspberry Pi® or a Matrix E-block upstream board would do
the same to create a simple controller.
Language Neutral
Applicaon Program Interface
MIAC AllCode
Instruconal Guide