26 lines
386 B
C
26 lines
386 B
C
|
// BTCWebServer.h
|
||
|
|
||
|
#ifndef _BTCWEBSERVER_h
|
||
|
#define _BTCWEBSERVER_h
|
||
|
|
||
|
#if defined(ARDUINO) && ARDUINO >= 100
|
||
|
#include "arduino.h"
|
||
|
#else
|
||
|
#include "WProgram.h"
|
||
|
#endif
|
||
|
|
||
|
#include "BTCWifi.h"
|
||
|
#include <WiFiClient.h>
|
||
|
#include <WebServer.h>
|
||
|
#include <ESPmDNS.h>
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
|
void initWebServer();
|
||
|
void doWebServer();
|
||
|
void handleRoot();
|
||
|
void handleNotFound();
|
||
|
void webturnOn();
|
||
|
void webturnOff();
|