add power sensor (#20400)

* clean up logic gate / edge detector components

* logic gate usedelay support

* new codersprite

* PowerSensor component and system

* add power sensor

* port locale

* fix

* minecraft

* fixy

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-12-16 18:32:42 +00:00
committed by GitHub
parent c936f5adc3
commit d8ee36d7b0
13 changed files with 355 additions and 31 deletions

View File

@@ -59,4 +59,10 @@ signal-port-name-pulse = Pulse
signal-port-description-pulse = This port is invoked when a bound anomaly is pulsing.
signal-port-name-supercrit = Supercritical
signal-port-description-supercrit = This port is invoked when a bound anomaly explode after supercrit state.
signal-port-description-supercrit = This port is invoked when a bound anomaly explode after supercrit state.
signal-port-name-power-charging = Charging
signal-port-description-power-charging = This port is invoked with HIGH when the battery is gaining charge and LOW when not.
signal-port-name-power-discharging = Discharging
signal-port-description-power-discharging = This port is invoked with HIGH when the battery is losing charge and LOW when not.