mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-16 21:34:08 +01:00
cleanup examples, build and ci
This commit is contained in:
21
src/examples/wifiMesh/main.cpp
Normal file
21
src/examples/wifiMesh/main.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "config.h"
|
||||
#include "MeshApp.h"
|
||||
|
||||
MeshApp sprocket(
|
||||
{STARTUP_DELAY, SERIAL_BAUD_RATE},
|
||||
{SPROCKET_MODE, WIFI_CHANNEL,
|
||||
MESH_PORT, MESH_PREFIX, MESH_PASSWORD,
|
||||
STATION_SSID, STATION_PASSWORD, HOSTNAME,
|
||||
MESH_DEBUG_TYPES});
|
||||
|
||||
void setup()
|
||||
{
|
||||
delay(3000);
|
||||
sprocket.activate();
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
sprocket.loop();
|
||||
yield();
|
||||
}
|
||||
Reference in New Issue
Block a user