- Name
- ModularServer
- Version
- 7.3.5
- License
- BSD
- URL
- https://github.com/janelia-arduino/ModularServer
- Author
- Peter Polidoro
- [email protected]
Modular device server library.
This firmware requires at least Teensy 3.x level resources. Known to work with Teensy 3.2, Teensy 3.5, Teensy 3.6, Teensy 4.0, and Teensy 4.1.
https://janelia-arduino.github.io/ModularServer/
{
"id": "getAPI",
"result": {
"firmware": [
{
"name": "ModularServer",
"version": "7.3.5"
}
],
"verbosity": "NAMES",
"functions": [
"getDeviceId",
"getDeviceInfo",
"getApi",
"getPropertyDefaultValues",
"setPropertiesToDefaults",
"getPropertyValues",
"getPinInfo",
"setPinMode",
"getPinValue",
"setPinValue"
],
"parameters": [
"firmware",
"verbosity",
"pin_name",
"pin_mode",
"pin_value"
],
"properties": [
"serialNumber"
]
}
}https://github.com/janelia-arduino/ModularServer.git
git clone https://github.com/janelia-arduino/ModularServer.githttps://docs.platformio.org/en/latest/core/installation/index.html
python3 -m venv .venv
source .venv/bin/activate
pip install pip --upgrade
pip install platformio
pio --versionLinux users have to install udev rules for PlatformIO supported boards/devices.
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rulessudo service udev restartsudo usermod -a -G dialout $USER && sudo usermod -a -G plugdev $USERsudo apt-get purge --auto-remove modemmanagerYou will need to log out and log back in again (or reboot) for the user group changes to take effect.
After this file is installed, physically unplug and reconnect your board.
make firmwarepio run -e teensy31make uploadpio run -e teensy31 -t uploadmake monitorpio device monitor --echo --eol=LFgetAPI NAMES ["ModularServer"]https://www.arduino.cc/en/software
File > Preferences
https://www.pjrc.com/teensy/package_teensy_index.json https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
- Teensy by Paul Stroffregen
- Raspberry Pi Pico/RP2040 by Earle F Philhower, III