Browse Source

Small changes

fastled
Xose Pérez 7 years ago
parent
commit
a67c80de69
4 changed files with 3001 additions and 63 deletions
  1. +0
    -0
      code/espurna/hlw8012.ino
  2. +2999
    -61
      code/espurna/static/index.html.gz.h
  3. +1
    -1
      code/gulpfile.js
  4. +1
    -1
      code/html/index.html

code/espurna/pow.ino → code/espurna/hlw8012.ino View File


+ 2999
- 61
code/espurna/static/index.html.gz.h
File diff suppressed because it is too large
View File


+ 1
- 1
code/gulpfile.js View File

@ -57,7 +57,7 @@ gulp.task('buildfs_embeded', ['buildfs_inline'], function() {
wstream.write('const uint8_t index_html_gz[] PROGMEM = {') wstream.write('const uint8_t index_html_gz[] PROGMEM = {')
for (i=0; i<data.length; i++) { for (i=0; i<data.length; i++) {
if (i % 1000 == 0) wstream.write("\n");
if (i % 20 == 0) wstream.write("\n");
wstream.write('0x' + ('00' + data[i].toString(16)).slice(-2)); wstream.write('0x' + ('00' + data[i].toString(16)).slice(-2));
if (i<data.length-1) wstream.write(','); if (i<data.length-1) wstream.write(',');
} }


+ 1
- 1
code/html/index.html View File

@ -292,7 +292,7 @@
<select name="relaySync" class="pure-u-3-4" tabindex="3"> <select name="relaySync" class="pure-u-3-4" tabindex="3">
<option value="0">No synchonisation</a> <option value="0">No synchonisation</a>
<option value="1">Zero or one switches active</a> <option value="1">Zero or one switches active</a>
<option value="2">One and just one switches active</a>
<option value="2">One and just one switch active</a>
<option value="3">All synchonised</a> <option value="3">All synchonised</a>
</select> </select>
</div> </div>


Loading…
Cancel
Save