From 267663a17382a4990a06d34ae07a7fc68f3909fe Mon Sep 17 00:00:00 2001 From: Moritz Perschke <moritz.perschke@uibk.ac.at> Date: Mon, 25 Jul 2022 14:57:28 +0200 Subject: [PATCH] espnow library first draft --- client/client/platformio.ini | 3 +-- client/client/src/main.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/client/client/platformio.ini b/client/client/platformio.ini index ac49f97..ee50833 100644 --- a/client/client/platformio.ini +++ b/client/client/platformio.ini @@ -12,5 +12,4 @@ platform = espressif32 board = esp32-c3-devkitm-1 framework = arduino -monitor_speed = 115200 - +monitor_speed = 115200 \ No newline at end of file diff --git a/client/client/src/main.cpp b/client/client/src/main.cpp index 58b344c..0c1c8ca 100644 --- a/client/client/src/main.cpp +++ b/client/client/src/main.cpp @@ -1,7 +1,13 @@ #include <Arduino.h> +#include "espnow.h" void setup() { + // put your setup code here, to run once: + Serial.begin(115200); + while(!Serial); + + int result = espnow_setup(); } void loop() { -- GitLab