From 1c01b17f4d0100127c54aeef16c09c99a3f277b1 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Thu, 26 May 2022 15:16:09 +0200 Subject: [PATCH] Refactor pins to be user-provided --- eink.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eink.hpp b/eink.hpp index dddb7ad..3fda4ed 100644 --- a/eink.hpp +++ b/eink.hpp @@ -7,14 +7,14 @@ #include "../clock.hpp" #include "../io/io.hpp" -template +template class Epd { static constexpr auto width = uint16_t{200}; static constexpr auto height = uint16_t{200}; - io::Pin m_rst; - io::Pin m_dc; - io::Pin m_bsy; + io::Pin m_rst; + io::Pin m_dc; + io::Pin m_bsy; public: Epd() = default;