learn the Busin Class to realize that 2 keys control the lights

Dependencies:   mbed

Fork of BusIn_HelloWorld by mbed official

Revision:
2:b22e7d5a6872
Parent:
0:5e474ece410b
Child:
3:fa8283d98f9a
--- a/main.cpp	Sun Sep 21 17:40:50 2014 +0000
+++ b/main.cpp	Sun Sep 21 17:56:02 2014 +0000
@@ -1,6 +1,6 @@
 #include "mbed.h"
 
-BusIn nibble(p5, p6, p18, p11);
+BusIn nibble(p5, p6, p18, p11); // change pins according to platform
 
 int main() {
     while(1) {