bringing back show ports (#377)

* bringing back show ports

* added firmware links in docs

* updated color rendering

* better rendering of touch/ultra/ir

* better data per sensor
This commit is contained in:
Peli de Halleux authored and GitHub committed 2018-03-28 08:50:14 -07:00
1 parent 89e1819399
commit 550528c695
9 files changed
+121 -33

No files matched your search

+4
View File
@@ -15,6 +15,10 @@ namespace sensors {
return this._readPin6() > 2500 ? 1 : 0
}
_info(): string {
return this._query() ? "pres" : "rel";
}
_update(prev: number, curr: number) {
this.button._update(curr > 0)
}