AN example micIO application.
Dependencies: MicIO TextLCD mbed
Fork of TextLCD_HelloWorld by
main.cpp@4:e788d37f0cbe, 2014-03-23 (annotated)
- Committer:
- cbookman3
- Date:
- Sun Mar 23 20:47:08 2014 +0000
- Revision:
- 4:e788d37f0cbe
- Parent:
- 3:7cecc3a5e4fa
ugh;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon | 1:7418a52375a0 | 1 | // Hello World! for the TextLCD |
simon | 1:7418a52375a0 | 2 | |
simon | 0:334327d1a416 | 3 | #include "mbed.h" |
simon | 0:334327d1a416 | 4 | #include "TextLCD.h" |
cbookman3 | 3:7cecc3a5e4fa | 5 | #include "MicIO.h" |
simon | 0:334327d1a416 | 6 | |
cbookman3 | 3:7cecc3a5e4fa | 7 | MicIO micIO(p18,p17); |
simon | 0:334327d1a416 | 8 | |
simon | 0:334327d1a416 | 9 | int main() { |
cbookman3 | 3:7cecc3a5e4fa | 10 | wait(1); |
cbookman3 | 3:7cecc3a5e4fa | 11 | //41:42:43:44:45:46:47:48:49:4a:4b:4c:4d:4e:4f:50:51:52:53:54:55:56:57:58:59:5a:61:62:63:64:65:66:67:68:69:6a:6b:6c:6d:6e:6f:70:71:72:73:74:75:76:77:78:79:7a:31:32:33:34:35:36:37:38:39:30 |
cbookman3 | 3:7cecc3a5e4fa | 12 | micIO.send("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890", 62); |
simon | 0:334327d1a416 | 13 | } |
cbookman3 | 3:7cecc3a5e4fa | 14 |