Simple "Blinky" example for the QP active object framework
Fork of qp_dpp by
blinky.h@7:80bbc7a6c78c, 2014-10-12 (annotated)
- Committer:
- QL
- Date:
- Sun Oct 12 18:56:53 2014 +0000
- Revision:
- 7:80bbc7a6c78c
Simple "Blinky" example for the QP active object framework
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
QL | 7:80bbc7a6c78c | 1 | #ifndef blinky_h |
QL | 7:80bbc7a6c78c | 2 | #define blinky_h |
QL | 7:80bbc7a6c78c | 3 | |
QL | 7:80bbc7a6c78c | 4 | enum BlinkySignals { |
QL | 7:80bbc7a6c78c | 5 | TIMEOUT_SIG = QP::Q_USER_SIG, |
QL | 7:80bbc7a6c78c | 6 | MAX_PUB_SIG, // the last published signal |
QL | 7:80bbc7a6c78c | 7 | |
QL | 7:80bbc7a6c78c | 8 | MAX_SIG // the last signal |
QL | 7:80bbc7a6c78c | 9 | }; |
QL | 7:80bbc7a6c78c | 10 | |
QL | 7:80bbc7a6c78c | 11 | extern QP::QActive * const AO_Blinky; |
QL | 7:80bbc7a6c78c | 12 | |
QL | 7:80bbc7a6c78c | 13 | #endif // blinky_h |