Skip to content

Commit

Permalink
add example to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Aug 20, 2023
1 parent 9d57559 commit 4bc0b0c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/examples.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
Simple test
------------
Simple test CircuitPython
-------------------------

Ensure your device works with this simple test.
Create a simple CircuitPython OSC UDP Server to receive OSC Messages

.. literalinclude:: ../examples/microosc_simpletest.py
:caption: examples/microosc_simpletest.py
:linenos:

Simple test CPython
-------------------

Create a simple desktop Python (CPython) OSC UDP Server to receive OSC Messages

.. literalinclude:: ../examples/microosc_simpletest_cpython.py
:caption: examples/microosc_simpletest_cpython.py
:linenos:

0 comments on commit 4bc0b0c

Please sign in to comment.