
Page 7
Copyright © 2017 Matrix Technology Solutions Limited
www.matrixtsl.com
Pseudo-code
A Simple Programming Aid
MIAC AllCode
Instructional Guide
Most of the examples that appear in this Instructional Guide are written with pseudo-code.
This pseudo-code can be used with the many programming languages that can be used with the
MIAC AllCode.
One of the reasons for this is that this Guide would be huge if all the examples were written in
every language the MIAC AllCode supported, and only certain parts would be applicable to you.
API calls allow you to interact with the MIAC AllCode. The name of these calls will map across to
the set of macros available in Flowcode, AppInventor, Python and other languages supported by
the MIAC AllCode. A full list of available API calls is available at the end of this document.
Using pseudo-code allows you to take the first step of putting your ideas into practice in a
structured way without getting tripped up by the syntax of a formal programming language.
Once you have expressed your ideas, using pseudo-code, you can move on and write the
actual program using your chosen programming language, which should hopefully be a fairly
simple coding task.
Open COM Port
WriteRelays ( 15 )
Close COM Port
Open the communications port
Close the communications port
Switch On Relays 1-4
Summary of Contents for MI3932 MIAC AllCode
Page 1: ......