micropython/examples
stijn 25c4563f26 examples: Add example code for user C modules, both C and C++.
Add working example code to provide a starting point for users with files
that they can just copy, and include the modules in the coverage test to
verify the complete user C module build functionality.  The cexample module
uses the code originally found in cmodules.rst, which has been updated to
reflect this and partially rewritten with more complete information.
2020-10-29 15:30:42 +11:00
..
SDdatalogger all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
bluetooth examples/bluetooth: Update to use positional-only args to irq(). 2020-09-26 21:19:18 +10:00
embedding all: Fix auto-enable of MICROPY_GCREGS_SETJMP to select GC behaviour. 2020-04-30 16:49:42 +10:00
hwapi all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
natmod extmod/ure: Use single function for match/search/sub. 2020-06-08 09:16:09 +02:00
network all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
unix all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
usercmodule examples: Add example code for user C modules, both C and C++. 2020-10-29 15:30:42 +11:00
accel_i2c.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
accellog.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmled.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmsum.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
conwaylife.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
ledangle.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mandel.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
micropython.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pins.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pyb.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
switch.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00