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
- Committer:
- mehatfie
- Date:
- 2014-10-01
- Revision:
- 11:bc9cd2869f95
- Parent:
- 9:5a0c4c6e39c7
File content as of revision 11:bc9cd2869f95:
#ifndef PININ_HPP #define PININ_HPP #include "Initialization.hpp" class PinIN: public Device{ private: PinName pinName; PinMode pinMode; public: PinIN(LineData); int interpret(LineData&); int off(){return 0;} //Do Nothing as you don't need to turn a Pin off int pause(){return 0;} //Do Nothing as you don't need to pause a Pin int resume(){return 0;} //Do Nothing as you don't need to resume a Pin }; #endif