Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Commit 7c160dd

Browse files
committed
Rename Pin to DigitalPin.
1 parent 43d08a3 commit 7c160dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

robot-control-src/Pin.hpp renamed to robot-control-src/DigitalPin.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#ifndef ROBOT_CONTROL_SRC_PIN_HPP_
2-
#define ROBOT_CONTROL_SRC_PIN_HPP_
1+
#ifndef ROBOT_CONTROL_SRC_DIGITALPIN_HPP_
2+
#define ROBOT_CONTROL_SRC_DIGITALPIN_HPP_
33

44
#include "GpioInterface.hpp"
55
#include <Arduino.h>
66

77
template<std::uint8_t pin>
8-
class Pin: public GpioInterface {
8+
class DigitalPin: public GpioInterface {
99
public:
1010
virtual int read() override
1111
{
@@ -33,4 +33,4 @@ class Pin: public GpioInterface {
3333
}
3434
};
3535

36-
#endif /* ROBOT_CONTROL_SRC_PIN_HPP_ */
36+
#endif /* ROBOT_CONTROL_SRC_DIGITALPIN_HPP_ */

0 commit comments

Comments
 (0)