Skip to content
Command line and python library for Sequent Microsystems MegaIO-IND (Industrial Automation) and MegaIO-BAS (Building Automation) boards
C Python Makefile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
python Add "getOptoCh(stack, ch)" function to read specific optocoupled channel Nov 22, 2019
update Minor display changes to update software Jul 11, 2019
Makefile modified: Makefile Jul 24, 2018 Update Jul 8, 2019
comm.c Changes to be committed: Jul 1, 2019
megaioind.c Minor help strings update Nov 21, 2019
megaioind.h modified: megaioind.c Nov 20, 2019
rev_history.txt Update rev_history.txt Nov 20, 2019



This is the command to control the Industrial and Building Automation I/O Expansion cards for Raspberry Pi.

Before compiling please install Wiring Pi, many thanks to Gordon Henderson for the library.


~$ git clone
~$ cd megaioind-rpi/
~/megaioind-rpi$ sudo make install

To access the functions of the Mega Now you can access all the functions of the MegaIO Industrial board through the command "megaioind".

Type megaioind -h for command options list.

If you clone the repository any update can be made with the following commands:

~$ cd megaioind-rpi/  
~/megaioind-rpi$ git pull
~/megaioind-rpi$ sudo make install

Firmware update

Now you can update board firmware with latest version from our website and for that Raspberry must be connected to internet. We recomend you to disconnect all outputs from board before update, during update outputs might change and can damage your external equipaments.

For first usage you must set the execution rights for the update program.

~$ cd megaioind-rpi/update/
~/megaioind-rpi/update$ chmod 777 update

To update you must execute the program with stack level (jumper settings) of your board

~$ cd megaioind-rpi/update/
~/megaioind-rpi/update$ ./update 0
You can’t perform that action at this time.