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
2018-03-28 08:50:14 -07:00
committed by GitHub
parent 89e1819399
commit 550528c695
9 changed files with 121 additions and 33 deletions

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)
}