revisions

This commit is contained in:
pls.153 2024-07-25 10:14:01 +02:00
parent 515cfc951e
commit b4e8d9d725
4 changed files with 5 additions and 4 deletions

View file

@ -4,7 +4,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
width: 12
height: 25
color: (level > 15) ? "#f0f0f0" : "yellow"
color: (percent() > 15) ? "#f0f0f0" : "yellow"
radius: 2
border.width: 1
border.color: "#808080"

View file

@ -105,7 +105,7 @@
<h2>Simple Standalone Device</h2>
<img src="img/chatter.jpg" width=280>
<p>
Support for Meshtastic is increasing continuously. These are <i>CircuitMess Chatter 2.0</i> devices (they come in pairs, around 30€ for 2 devices on AMZN).
Support for Meshtastic is increasing continuously. These are <i>CircuitMess Chatter 2.0</i> devices (they come in pairs). Currently only available on ebay.
</p>
<p>
They have some limitations: they only support <i>MediumSlow</i> instead of <i>LongFast</i>, and have a lousy antenna, but work great if those limitations are acceptable for one's use case.

View file

@ -342,7 +342,8 @@
(setf radios:*found* t)
(radios:add-radio
(list :name name
:hw-model (symbol-name (me:hw-model x:it))
:hw-model (x:string-substitute "?" "%UNDEFINED"
(symbol-name (me:hw-model x:it)))
:voltage (format nil "~1$V" (if metrics (me:voltage metrics) 0))
:battery-level (format nil "~D%" (if metrics (max 0 (min 100 (me:battery-level metrics))) 0))
:current current))

View file

@ -4,7 +4,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
width: 12
height: 25
color: (level > 15) ? "#f0f0f0" : "yellow"
color: (percent() > 15) ? "#f0f0f0" : "yellow"
radius: 2
border.width: 1
border.color: "#808080"