PI2c OS allows you to control GPIO, SPI, I2C, PWM, and serial via a REST API and communicate serial over TCP and Websockets. You can flash the OS onto an SD card to begin or install and run the applications directly via npm.
Once you have successfully programmed the device and have your Pi running you can view get started and rest api help.
The applications repo's can be found on Github at
Both repositories contain instructions to build, install, and run on your target.
The PI2c image can be downloaded and flashed onto an SD card.
To find your device scan for it via Bonjour/Zeroconf.
On a MAC run the following command and look for devices prefixed with GO-XXXXXXX
dns-sd -B _ssh
On a linux with avahi-browse installed run the following command and look for devices prefixed with GO-XXXXXXX
avahi-browse -rac
Or if you had inserted a USB drive (Device will log ip, host, and other info on powerup to a USB)
Now let's test by getting the version
curl GO-XXXXXXX/api/v1/version
or
curl ip-address/api/v1/version