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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user