ReelTwo
RSeries astromech firmware
PinManager.h
Go to the documentation of this file.
1
#ifndef PinManager_h
2
#define PinManager_h
3
4
#include "
ReelTwo.h
"
5
6
class
PinManager
7
{
8
public
:
9
virtual
void
begin
()
10
{
11
}
12
virtual
bool
digitalRead
(uint8_t pin)
13
{
14
return ::digitalRead(pin);
15
}
16
virtual
void
digitalWrite
(uint8_t pin, uint8_t val)
17
{
18
::digitalWrite
(pin, val);
19
}
20
virtual
void
pinMode
(uint8_t pin, uint8_t mode)
21
{
22
::pinMode
(pin, mode);
23
}
24
};
25
26
#endif
PinManager::pinMode
virtual void pinMode(uint8_t pin, uint8_t mode)
Definition:
PinManager.h:20
ReelTwo.h
PinManager::digitalWrite
virtual void digitalWrite(uint8_t pin, uint8_t val)
Definition:
PinManager.h:16
PinManager
Definition:
PinManager.h:6
PinManager::digitalRead
virtual bool digitalRead(uint8_t pin)
Definition:
PinManager.h:12
PinManager::begin
virtual void begin()
Definition:
PinManager.h:9
core
PinManager.h
Generated by
1.8.17