diff options
Diffstat (limited to 'library/include/hwd.h')
-rw-r--r-- | library/include/hwd.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/library/include/hwd.h b/library/include/hwd.h index 197b44b..3bec6be 100644 --- a/library/include/hwd.h +++ b/library/include/hwd.h @@ -2,7 +2,10 @@ namespace hwd { -void stop_server(); -void set_value(int value); -int get_value(); -} +namespace gpio +{ +void set_mode(const unsigned port, const short mode); +void write(const unsigned port, const short value); +short read(const unsigned port); +} // namespace gpio +} // namespace hwd |