Skip to content

Commit

Permalink
Push
Browse files Browse the repository at this point in the history
  • Loading branch information
clecat committed Mar 5, 2017
1 parent f52601d commit 7e0b4f0
Show file tree
Hide file tree
Showing 6 changed files with 1,288 additions and 3 deletions.
4 changes: 4 additions & 0 deletions include/Pin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ namespace nts
void setTarget(std::size_t);
void setState(Tristate);
void setMode(Mode);
void setCalc(int);
bool isLinked() const;
IComponent &getComponent() const;
std::size_t getTargetPin() const;
Tristate getState() const;
int getReset() const;
Mode getMode() const;

public:
Expand All @@ -45,6 +47,8 @@ namespace nts
private:
Mode mode;
nts::IComponent *component;
int calculating;
int to_reset;
Tristate state;
std::size_t target_pin;
};
Expand Down
Loading

0 comments on commit 7e0b4f0

Please sign in to comment.