From 7c6e90299de97b51f6ba17d1a50cedb824d0c82f Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 5 May 2018 18:35:39 +0200 Subject: Add gpio::is_set() to read from _latch register, update command parsing --- led.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'led.hpp') diff --git a/led.hpp b/led.hpp index 30b7a7a..0e674bb 100644 --- a/led.hpp +++ b/led.hpp @@ -29,7 +29,7 @@ public: color set_color() const; void set(unsigned s); - unsigned read() const; + unsigned is_set() const; void toggle(); std::string to_string(); -- cgit v1.2.1