diff --git a/htmlfiles/minifier.html b/htmlfiles/minifier.html index b4c2ddb..c66f59e 100644 --- a/htmlfiles/minifier.html +++ b/htmlfiles/minifier.html @@ -28,6 +28,13 @@ $('#info1').html($('#input').val().length); $('#info2').html(input.length); } + + function byteAndmini(){ + var input = "0x"+$('#input').val().replace(/\r\n|\r|\n/g," ").replace( /\s\s+/g, ' ' ).convertToHex(",0x");; + $('#output').val(input); + $('#info1').html($('#input').val().length); + $('#info2').html(input.length); + } @@ -35,7 +42,8 @@

-
+ +

diff --git a/htmlfiles/readme.md b/htmlfiles/readme.md new file mode 100644 index 0000000..9d4e48e --- /dev/null +++ b/htmlfiles/readme.md @@ -0,0 +1,7 @@ +**1** open minifier.html +**2** paste the html code in the upper textfield +**3** click on `minifiy + byte-ify` +**4** copy the results +**5** go to data.h and replace the array (of the changed html file) with the copied bytes + +** now upload your new sketch :)** \ No newline at end of file