diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-31 19:36:55 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-31 19:36:55 (GMT) |
| commit | 262d93c76cca638a832cf21cc44393df31bc7940 (patch) | |
| tree | 12f510ea19981330d452402c04be01d0023c8c16 /wasp/boards/simulator/micropython.py | |
| parent | e36caf59975b9705aff4f15d6642043aec4f27c6 (diff) | |
wasp: simulator: First steps towards a simulator
Currently this just traces SPI activity from the ST7789 driver but its
a good baseline to start building up test functions from.
Diffstat (limited to 'wasp/boards/simulator/micropython.py')
| -rw-r--r-- | wasp/boards/simulator/micropython.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wasp/boards/simulator/micropython.py b/wasp/boards/simulator/micropython.py new file mode 100644 index 0000000..a5740f1 --- /dev/null +++ b/wasp/boards/simulator/micropython.py @@ -0,0 +1,5 @@ +def const(x): + return x + +def native(x): + return x |
