distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
OutputPin.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_DEVICES_IO_OUTPUTPIN_HPP_
13 #define INCLUDE_DISTORTOS_DEVICES_IO_OUTPUTPIN_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 namespace devices
21 {
22 
29 class OutputPin : public InputPin
30 {
31 public:
32 
39  virtual void set(bool state) = 0;
40 };
41 
42 } // namespace devices
43 
44 } // namespace distortos
45 
46 #endif // INCLUDE_DISTORTOS_DEVICES_IO_OUTPUTPIN_HPP_
Definition: OutputPin.hpp:29
InputPin class header.
Top-level namespace of distortos project.
Definition: InputPin.hpp:27