From 9905389eb973ffa5139ab6b6aa09a9243bb02a24 Mon Sep 17 00:00:00 2001 From: Jasper van Loenen Date: Mon, 12 Jun 2017 18:52:22 +0200 Subject: [PATCH 1/3] Adds link to Adafruit Github profile --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c21f364..d907d52 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,4 @@ You can find a simple Arduino example sketch [over here](https://github.com/javl I wrote the code with my 128x64 pixel monochrome OLED display in mind, but it should work with most similar displays. You might need to change some export settings; those are explained in the tool. ### Credit ### -Initial code by [javl](https://github.com/javl), with aditional code by [wiredolphin](https://github.com/wiredolphin). The example sketch was made by Adafruit. +Initial code by [javl](https://github.com/javl), with aditional code by [wiredolphin](https://github.com/wiredolphin). The example sketch was made by [Adafruit](https://github.com/adafruit). From 7159e45cce8bd18e475b5fe1bb583e053a06cece Mon Sep 17 00:00:00 2001 From: davidalim <14.d.lim@gmail.com> Date: Sun, 14 Jan 2018 00:40:18 -0800 Subject: [PATCH 2/3] Update numerical inputs to "number" type -Better numerical input experience with scrolling and ranges -Makes it easier to adjust the brightness threshold --- index.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 960dabe..7c66d93 100644 --- a/index.html +++ b/index.html @@ -149,8 +149,8 @@

1. Paste byte array


- x - px + x + px
@@ -188,7 +188,7 @@
- +
0 - 255; pixels with brightness above become white, below become black.
@@ -614,15 +614,17 @@ imageEntry.setAttribute('data-img', file.name); var w = document.createElement('input'); - w.type = "text"; + w.type = "number"; w.name = "width"; + w.min = 0; w.className = "size-input"; w.value = img.width; w.oninput = function() { canvas.width = this.value; update(); }; var h = document.createElement('input'); - h.type = "text"; + h.type = "number"; h.name = "height"; + h.min = 0; h.className = "size-input"; h.value = img.height; h.oninput = function() { canvas.height = this.value; update(); }; From 105ddb0530a9ad5002cc64b7859515f4d6005fb5 Mon Sep 17 00:00:00 2001 From: javl Date: Sun, 14 Jan 2018 17:17:18 +0100 Subject: [PATCH 3/3] Updates credits in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d907d52..1277881 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,4 @@ You can find a simple Arduino example sketch [over here](https://github.com/javl I wrote the code with my 128x64 pixel monochrome OLED display in mind, but it should work with most similar displays. You might need to change some export settings; those are explained in the tool. ### Credit ### -Initial code by [javl](https://github.com/javl), with aditional code by [wiredolphin](https://github.com/wiredolphin). The example sketch was made by [Adafruit](https://github.com/adafruit). +Initial code by [javl](https://github.com/javl), with aditional code by [wiredolphin](https://github.com/wiredolphin) and [davidalim](https://github.com/davidalim). The example sketch was made by [Adafruit](https://github.com/adafruit).