Skip to content

Instantly share code, notes, and snippets.

wifi::global_wifi_component
global_wifi_component->is_connected()
<!DOCTYPE html>
<html>
<head>
<title>Kitchen Sink Example</title>
</head>
<body lang="en">
<p>This paragraph WILL NOT be styled by CSS or changed by javascript.</p>
<p id="secondpara">This paragraph will be styled by CSS using its <b>id</b>attribute using CSS selector.</p>
<p class="thirdpara">This paragraph will be styled by CSS using its <b>class</b>attribute using CSS selector.</p>
<p id="willchange">This paragraph will be changed by javascript</p>
#include <Arduino.h>
#include <SPI.h>
// Pin definitions matching your diagram.json
#define BUSY_PIN 4 // esp:D4 -> epd1:BUSY
#define RESET_PIN 21 // esp:D21 -> epd1:RST
#define DC_PIN 22 // esp:D22 -> epd1:DC
#define CS_PIN 5 // esp:D5 -> epd1:CS
#define MOSI_PIN 23 // esp:D23 -> epd1:DIN
#define SCK_PIN 18 // esp:D18 -> epd1:CLK