This library is a Snootlab's library's translation to use Akene on mbed boards instead of Arduino ones. The functions Akene.begin() and Akene.send() work perfectly, but no real checkup has been made for the other functions. Feel free to implement what you want to make your device work on mbed.
main.cpp@0:48c5b5c0395e, 2015-11-27 (annotated)
- Committer:
- Remitte
- Date:
- Fri Nov 27 15:42:18 2015 +0000
- Revision:
- 0:48c5b5c0395e
This is a Snootlab's library's translation to use Akene on mbed boards instead of Arduino ones.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Remitte | 0:48c5b5c0395e | 1 | #include "mbed.h" |
Remitte | 0:48c5b5c0395e | 2 | |
Remitte | 0:48c5b5c0395e | 3 | DigitalOut myled(LED1); |
Remitte | 0:48c5b5c0395e | 4 | |
Remitte | 0:48c5b5c0395e | 5 | int main() { |
Remitte | 0:48c5b5c0395e | 6 | while(1) { |
Remitte | 0:48c5b5c0395e | 7 | myled = 1; |
Remitte | 0:48c5b5c0395e | 8 | wait(0.2); |
Remitte | 0:48c5b5c0395e | 9 | myled = 0; |
Remitte | 0:48c5b5c0395e | 10 | wait(0.2); |
Remitte | 0:48c5b5c0395e | 11 | } |
Remitte | 0:48c5b5c0395e | 12 | } |