BusInOut Hello World
Fork of BusInOut_HelloWorld by
Use
The BusInOut interface is used to create an artificial bus of pins and read from / write to them. Pay special attention to the ordering of the pins in the initialization.
API
API reference.
Import librarymbed
Diff: main.cpp
- Revision:
- 3:68629c6c4970
- Parent:
- 2:d6010b360bca
diff -r d6010b360bca -r 68629c6c4970 main.cpp --- a/main.cpp Fri Mar 27 20:12:44 2015 +0000 +++ b/main.cpp Thu Jan 19 10:29:50 2017 -0600 @@ -16,7 +16,7 @@ #include "mbed.h" -BusInOut pins(p5, p10, p7); +BusInOut pins(D0, D1, D2); int main() { while(1) {