Skip to content

Commit

Permalink
Documented demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Dec 8, 2018
1 parent bccfe4a commit 7f3afdf
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
device/.build/
device/lib/.holder
example/device/.build/
example/device/lib/.holder
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "device/lib/simpleRPC"]
path = device/lib/simpleRPC
path = example/device/lib/simpleRPC
url = https://github.com/jfjlaros/simpleRPC.git
[submodule "device/lib/arduino-peripherals"]
path = device/lib/arduino-peripherals
path = example/device/lib/arduino-peripherals
url = https://github.com/jfjlaros/arduino-peripherals.git
1 change: 0 additions & 1 deletion device/lib/display

This file was deleted.

19 changes: 19 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,24 @@ integers.
display.delay(20); // Dim the display.
display.displayInt(-123); // Show the string "-123".
Demo
^^^^

A demo_ is provided to show the full functionality of the display and other
peripherals. This demo is written in Python 3.

First make sure all dependencies are installed.

::

pip install -r requirements.txt

Run the demo as follows.

::

python demo.py


.. _arduino-peripherals: https://arduino-peripherals.readthedocs.io
.. _demo: https://github.com/jfjlaros/vma209/tree/master/example/host
File renamed without changes.
1 change: 1 addition & 0 deletions example/device/lib/display
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7f3afdf

Please sign in to comment.