Starting the Arduino Bridge - MrYsLab/xideco GitHub Wiki

The Arduino Bridge is used to connect an Arduino board to the Xideco network. Each Arduino board will have its own associated Arduino Bridge.

The command to start the Arduino Bridge is:

xiab

The command accepts command line options. To see a help screen type: xiab -h

~$ xiab -h
usage: xiab [-h] [-b BOARD_NUMBER] [-p COMPORT]

optional arguments:
  -h, --help       show this help message and exit
  -b BOARD_NUMBER  Board Number - 1 through 10
  -p COMPORT       Arduino COM port - e.g. /dev/ttyACMO or COM3

The BOARD NUMBER is the board number you will select when using the Scratch Extension Blocks, or when a Xideco application needs to differentiate boards from one another.

The COMPORT option is used whenever you have more than one Arduino plugged into a single computer. If you are using multiple Arduino boards, but all are plugged into different computers, using this parameter is optional.

Here is a typical use:

$ xiab -b 2 -p COM3

pymata_aio Version 2.8	Copyright (c) 2015 Alan Yorinks All rights reserved.

In this example, the board is being specified as being board #2 and the COM port it is using is COM3