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@4:86d0d04cc055, 2014-09-19 (annotated)
- Committer:
- mehatfie
- Date:
- Fri Sep 19 01:54:00 2014 +0000
- Revision:
- 4:86d0d04cc055
- Child:
- 5:e36e0538a903
- fixed bug where "deviceFound" was not matching correct value; "if (lineData.word[2].compare(DeviceNames[i]) == 0)"... forgot the "== 0"; ; - Added Device PinIN, works as expected for current "wait" function
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 | 4:86d0d04cc055 | 10 | |
| mehatfie | 4:86d0d04cc055 | 11 | public: |
| mehatfie | 4:86d0d04cc055 | 12 | PinIN(Line); |
| mehatfie | 4:86d0d04cc055 | 13 | int interpret(Line&); |
| mehatfie | 4:86d0d04cc055 | 14 | }; |
| mehatfie | 4:86d0d04cc055 | 15 | |
| mehatfie | 4:86d0d04cc055 | 16 | #endif |