Initial pico w port
This commit is contained in:
1 parent
50e59ce2a2
commit
ead5d48ce0
17 files changed
+184
-7818
No files matched your search
+8
-8
@@ -1,12 +1,12 @@
|
||||
//Pin Definitions
|
||||
#define EPD_RST_PIN 4
|
||||
#define EPD_BUSY_PIN 5
|
||||
#define EPD_DC_PIN 2
|
||||
#define EPD_CS_PIN 15
|
||||
#define SPI_MOSI 13
|
||||
#define SPI_CLK 14
|
||||
// Pico W GPIO assignments for the Waveshare 4.2-inch V2 display.
|
||||
#define EPD_RST_GPIO 12
|
||||
#define EPD_BUSY_GPIO 13
|
||||
#define EPD_DC_GPIO 8
|
||||
#define EPD_CS_GPIO 9
|
||||
#define EPD_MOSI_GPIO 11
|
||||
#define EPD_CLK_GPIO 10
|
||||
|
||||
#define ESP_HOSTNAME "F1_Dashboard"
|
||||
#define DEVICE_HOSTNAME "F1_Dashboard"
|
||||
#define TIMEZONE "CST6CDT,M3.2.0/2:00:00,M11.1.0/2:00:00"
|
||||
|
||||
// Display resolution
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
#ifndef wifi_h
|
||||
#define wifi_h
|
||||
|
||||
/* WiFi station Example
|
||||
|
||||
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
||||
|
||||
Unless required by applicable law or agreed to in writing, this
|
||||
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/event_groups.h"
|
||||
#include "esp_system.h"
|
||||
#include "esp_wifi.h"
|
||||
#include "esp_event.h"
|
||||
#include "esp_log.h"
|
||||
#include "nvs_flash.h"
|
||||
|
||||
#include "lwip/err.h"
|
||||
#include "lwip/sys.h"
|
||||
|
||||
|
||||
static void event_handler(void* arg, esp_event_base_t event_base,
|
||||
int32_t event_id, void* event_data);
|
||||
|
||||
void wifi_init_sta(void);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user