-1_modifyBit_return_mask

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
tina_dokic
Date:
Mon Jan 13 17:55:50 2020 +0000
Parent:
5:c955c3107198
Commit message:
leds1_led4_nibbleleds

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r c955c3107198 -r ba829c650a6c main.cpp
--- a/main.cpp	Mon Jan 13 17:52:35 2020 +0000
+++ b/main.cpp	Mon Jan 13 17:55:50 2020 +0000
@@ -66,3 +66,7 @@
         printf("\n");
         
         }
+void nibbleLeds(int value)
+{
+    myleds= value%16;
+}
\ No newline at end of file