diff options
Diffstat (limited to 'assignment-13/uFPL/Arduino.icl')
-rw-r--r-- | assignment-13/uFPL/Arduino.icl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/assignment-13/uFPL/Arduino.icl b/assignment-13/uFPL/Arduino.icl new file mode 100644 index 0000000..2fbab30 --- /dev/null +++ b/assignment-13/uFPL/Arduino.icl @@ -0,0 +1,16 @@ +implementation module uFPL.Arduino + +import StdOverloaded + +import uFPL.Util + +instance toString Button +where + toString B0 = "B0" + toString B1 = "B1" + toString B2 = "B2" + toString B3 = "B3" + toString B4 = "B4" + toString B5 = "B5" + +instance print Button where print b = print (toString b) |