Before you Begin

Before you Begin

Install NPM and git-perltools

Node.js, Git and Python 2.7 are installed on each LTPS by default, but NPM is not.

To install it connect to your LTPP board from an SSH client and execute the following steps:

# Install NPM
dnf -y install nodejs-npm

# Enhance Git functionality. Required if you want to install NPM modules directly from Git.
dnf -y install git-perltools

# Install build-essential (GCC, Make, libraries etc). Required for on-board compilation of native C addons.
dnf -y install packagegroup-core-buildessential

Define your Tibbits layout

Different Tibbits require different resources. For example, a relay Tibbit inserted into a socket S1 of the LTPP3 board will need the S1 interface lines to function as general-purpose I/O (GPIO) lines. An RS232 Tibbit placed into the same socket will require a UART to be enabled and mapped to this Tibbit's interface lines.

The LTPP3 provides an interactive graphical tool that allows you to define your "Tibbit layout" (configuration), i.e. specify what Tibbit goes into what socket. The tool also verifies that there are no mistakes or problems with your layout. Once you have created and saved the desired layout, you must reboot the board to allow the new configuration take charge. The video below shows the configuration process.

When trying out our code examples or testing your own projects, remember to define the proper Tibbit layout before running the corresponding code.

Defining the Tibbit layout through the LTPS Web Interface

Before you Begin