Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed EthernetInterface mbed-rto
Receiver.cpp@41:b69c7baa5d31, 2018-05-02 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Wed May 02 13:51:33 2018 +0000
- Revision:
- 41:b69c7baa5d31
- Parent:
- 30:915f6cb7ffa5
- Child:
- 59:237e32fd3555
Added multiple printf statements
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| KlaasGovaerts | 29:996da48a265c | 1 | #include "Receiver.h" |
| KlaasGovaerts | 29:996da48a265c | 2 | |
| KlaasGovaerts | 30:915f6cb7ffa5 | 3 | Receiver::Receiver(Queue<int,8>* queue):interpreter(queue){ |
| KlaasGovaerts | 41:b69c7baa5d31 | 4 | printf("Receiver created.\r\n"); |
| KlaasGovaerts | 29:996da48a265c | 5 | } |
| KlaasGovaerts | 29:996da48a265c | 6 | |
| KlaasGovaerts | 29:996da48a265c | 7 | void Receiver::start(){ |
| KlaasGovaerts | 41:b69c7baa5d31 | 8 | printf("Receiver::start executed.\r\n"); |
| KlaasGovaerts | 29:996da48a265c | 9 | while(true){ |
| KlaasGovaerts | 29:996da48a265c | 10 | listener.receiveSegment(command,sizeof(command)); |
| KlaasGovaerts | 29:996da48a265c | 11 | interpreter.executeCommand(command); |
| KlaasGovaerts | 29:996da48a265c | 12 | } |
| KlaasGovaerts | 29:996da48a265c | 13 | } |
