diff --git a/eink/main.cpp b/eink/main.cpp index 90610b1..759087c 100644 --- a/eink/main.cpp +++ b/eink/main.cpp @@ -441,8 +441,7 @@ constexpr auto IMAGE [[gnu::progmem]] = util::to_array({ int main() { - using spi_t = spi::Software>; + using spi_t = spi::Software>; uart_t serial; serial.init(); @@ -451,9 +450,7 @@ int main() serial << F("e-Paper demo") << F("\r\n"); - io::Pin::dir(io::Dir::OUT); - io::Pin::write(false); - auto einkDisplay = eink::Eink<200, 200, spi_t, io::P::C1, io::P::NONE /*io::P::C2*/, io::P::C0>{}; + auto einkDisplay = eink::Eink<200, 200, spi_t, io::P::C1, io::P::C2, io::P::C0>{}; einkDisplay.init(); serial << F("e-Paper init") << F("\r\n");