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@9:5a0c4c6e39c7, 2014-09-24 (annotated)
- Committer:
- mehatfie
- Date:
- Wed Sep 24 22:23:00 2014 +0000
- Revision:
- 9:5a0c4c6e39c7
- Parent:
- 5:e36e0538a903
- Child:
- 11:bc9cd2869f95
- System error checking and syntax checking should be completed; --- Compiled code still functions correctly; --- All error checking has not been checked that they indeed error out / not error out and function as planned
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 | 9:5a0c4c6e39c7 | 15 | int off(); |
| mehatfie | 4:86d0d04cc055 | 16 | }; |
| mehatfie | 4:86d0d04cc055 | 17 | |
| mehatfie | 4:86d0d04cc055 | 18 | #endif |