Added Wifi

Seems to be working.

It's 90% the same code as the examples
This commit is contained in:
2023-10-28 00:58:33 +01:00
parent e8c1dc0647
commit cf9a549cf2
6 changed files with 89 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
*/
#include "dht22.h"
#include "wifi.h"
#include "esp_log.h"
#include "esp_wifi.h"
#include "freertos/FreeRTOS.h"
@@ -91,4 +92,6 @@ app_main(void)
&pms5003_handle);
#endif /* CONFIG_PMS5003_ENABLED */
start_wifi();
}