The software is distributed via PyPI, it can be installed with
pip install arduino-simple-rpc
The source is hosted on GitHub, to install the latest development version, use the following commands.
git clone https://github.com/jfjlaros/arduino-simple-rpc.git cd arduino-simple-rpc pip install .
Tests are written in the pytest framework which can be installed with
pip install pytest
To run the automated tests, run
py.test in the root of the project folder.
By default, all tests that rely on particular hardware to be connected are
--device parameter can be used to enable these device
To test the Bluetooth interface.
py.test --device bt
To test the HardwareSerial interface.
py.test --device serial
To test the WiFi interface.
py.test --device wifi