TinyWifiDongle 0.1.0
Header-only USB WiFi dongle for Arduino
Loading...
Searching...
No Matches
twd::Board Class Reference

The few things that differ between the supported boards. More...

#include <Board.h>

Static Public Member Functions

static bool buttonPressedWithin (uint32_t ms)
 True if the BOOT button (ESP32) or the BOOTSEL button (Raspberry Pi Pico) is pressed at any time during the next ms milliseconds.
static void restart ()
 Restarts the board.

Detailed Description

The few things that differ between the supported boards.

Used by the setup classes: reading the "forget the network" button and restarting the board.

Definition at line 12 of file Board.h.

Member Function Documentation

◆ buttonPressedWithin()

bool twd::Board::buttonPressedWithin ( uint32_t ms)
inlinestatic

True if the BOOT button (ESP32) or the BOOTSEL button (Raspberry Pi Pico) is pressed at any time during the next ms milliseconds.

Definition at line 15 of file Board.h.

◆ restart()

void twd::Board::restart ( )
inlinestatic

Restarts the board.

Definition at line 32 of file Board.h.


The documentation for this class was generated from the following file: