summaryrefslogtreecommitdiff
path: root/objects/Uart.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'objects/Uart.mpy')
-rw-r--r--objects/Uart.mpy5
1 files changed, 5 insertions, 0 deletions
diff --git a/objects/Uart.mpy b/objects/Uart.mpy
new file mode 100644
index 000000000..a54e19dcd
--- /dev/null
+++ b/objects/Uart.mpy
@@ -0,0 +1,5 @@
+from Device import PioDevice
+
+simobj Uart(PioDevice):
+ console = Param.SimConsole(Super, "The console")
+ size = Param.Addr(0x8, "Device size")