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.
RequestQueue.h@1:4ec28912c9e7, 2015-03-26 (annotated)
- Committer:
- avinashr
- Date:
- Thu Mar 26 02:25:46 2015 +0000
- Revision:
- 1:4ec28912c9e7
- Child:
- 2:2cc70773996b
Motors and Keypad working
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| avinashr | 1:4ec28912c9e7 | 1 | #include "mbed.h" |
| avinashr | 1:4ec28912c9e7 | 2 | |
| avinashr | 1:4ec28912c9e7 | 3 | #ifndef REQUESTQUEUE_H |
| avinashr | 1:4ec28912c9e7 | 4 | #define REQUESTQUEUE_H |
| avinashr | 1:4ec28912c9e7 | 5 | |
| avinashr | 1:4ec28912c9e7 | 6 | class LiftQueue { |
| avinashr | 1:4ec28912c9e7 | 7 | |
| avinashr | 1:4ec28912c9e7 | 8 | private : |
| avinashr | 1:4ec28912c9e7 | 9 | |
| avinashr | 1:4ec28912c9e7 | 10 | int floor; |
| avinashr | 1:4ec28912c9e7 | 11 | |
| avinashr | 1:4ec28912c9e7 | 12 | public : |
| avinashr | 1:4ec28912c9e7 | 13 | |
| avinashr | 1:4ec28912c9e7 | 14 | void push (int); |
| avinashr | 1:4ec28912c9e7 | 15 | |
| avinashr | 1:4ec28912c9e7 | 16 | void pop (); |
| avinashr | 1:4ec28912c9e7 | 17 | }; |
| avinashr | 1:4ec28912c9e7 | 18 | |
| avinashr | 1:4ec28912c9e7 | 19 | #endif |