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: BridgeDriver FrontPanelButtons MCP23017 SDFileSystem TextLCD mbed
Devices/PinIN.hpp@5:e36e0538a903, 2014-09-23 (annotated)
- Committer:
- mehatfie
- Date:
- Tue Sep 23 18:24:19 2014 +0000
- Revision:
- 5:e36e0538a903
- Parent:
- 4:86d0d04cc055
- Child:
- 9:5a0c4c6e39c7
- Conditional Command working successfully; --- Also working with loop command; - Each major command (interpret, loop, condition), must have a unique ending return value
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mehatfie | 4:86d0d04cc055 | 1 | #ifndef PININ_HPP |
| mehatfie | 4:86d0d04cc055 | 2 | #define PININ_HPP |
| mehatfie | 4:86d0d04cc055 | 3 | |
| mehatfie | 4:86d0d04cc055 | 4 | #include "Initialization.hpp" |
| mehatfie | 4:86d0d04cc055 | 5 | |
| mehatfie | 4:86d0d04cc055 | 6 | class PinIN: public Device{ |
| mehatfie | 4:86d0d04cc055 | 7 | |
| mehatfie | 4:86d0d04cc055 | 8 | private: |
| mehatfie | 4:86d0d04cc055 | 9 | PinName pinName; |
| mehatfie | 5:e36e0538a903 | 10 | PinMode pinMode; |
| mehatfie | 4:86d0d04cc055 | 11 | |
| mehatfie | 4:86d0d04cc055 | 12 | public: |
| mehatfie | 5:e36e0538a903 | 13 | PinIN(LineData); |
| mehatfie | 5:e36e0538a903 | 14 | int interpret(LineData&); |
| mehatfie | 4:86d0d04cc055 | 15 | }; |
| mehatfie | 4:86d0d04cc055 | 16 | |
| mehatfie | 4:86d0d04cc055 | 17 | #endif |