Browse Source

delete unnecessary files

tags/v0.3.0
Simon Schmidt 3 years ago
parent
commit
97a6076864
6 changed files with 4 additions and 10 deletions
  1. 2
    2
      create_gz_files.py
  2. BIN
      data/compressed.html.gzip
  3. BIN
      include/http/firefox.png
  4. 0
    6
      src/main.cpp
  5. 1
    1
      webtest.cmd
  6. 1
    1
      webtest.sh

+ 2
- 2
create_gz_files.py View File

f_out.write(top.encode(encoding='utf-8')) f_out.write(top.encode(encoding='utf-8'))




src='include/http/'
out='include/'
src='data/'
out='compress/'


for f in os.listdir(src): for f in os.listdir(src):
convert_to_gzip(src, out, f) convert_to_gzip(src, out, f)

BIN
data/compressed.html.gzip View File


BIN
include/http/firefox.png View File


+ 0
- 6
src/main.cpp View File



#include "httpserver.h" #include "httpserver.h"


#include "index.html.gz.h"
#include "style.css.gz.h"
#include "favicon.png.gz.h"
// images are possible

const char* ssid = STASSID; const char* ssid = STASSID;
const char* password = STAPSK; const char* password = STAPSK;


os_timer_t timer1; os_timer_t timer1;
int timer_arg; int timer_arg;


void setup_webserver();
void setup_ota(); void setup_ota();
void setup_pwm_pca9685(); void setup_pwm_pca9685();
void handleNotFound(); void handleNotFound();

+ 1
- 1
webtest.cmd View File

CD .\include\http
CD .\data
py.exe -m http.server py.exe -m http.server

+ 1
- 1
webtest.sh View File

cd include/http
cd data
python3 -m http.server python3 -m http.server

Loading…
Cancel
Save