From: Nils Date: Mon, 12 Aug 2024 05:43:57 +0000 (+0200) Subject: old uncommited changes X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=0412bd5bac6747a635972154843b654e6bc09298;p=e-paper-project.git old uncommited changes --- diff --git a/e-paper-project/web_server.cpp b/e-paper-project/web_server.cpp index cc442fb..5eeacb7 100644 --- a/e-paper-project/web_server.cpp +++ b/e-paper-project/web_server.cpp @@ -29,7 +29,8 @@ static void home_page() static void dir_page() { - uint8_t levels = 0; + // Only lists files and directories in root "/", no recursion into folders... + std::unique_ptr root = SD_card_fs::get_file("/"); if (*root) { @@ -101,6 +102,14 @@ static void handle_file_upload() SD_card_fs::close_file(); send_HTML_page(HTML_data::upload_finished_str); + + epd_spi_pinout pinout{ + + } + EPD_SPI_interface epd_display{} + BMP my_bitmap{filename.c_str()}; + + } else {