mirror of https://github.com/arendst/Tasmota.git
Updated Script Cookbook (markdown)
parent
e402decac2
commit
54f3126f6f
|
@ -527,7 +527,7 @@ endif
|
|||
#### Ledbar Display with WS2812 ledchain
|
||||
used as display for solar house power input/output (+-5000 Watts)
|
||||
|
||||
>D
|
||||
\>D
|
||||
m:array=0 60 ;defines array for 60 led pixels
|
||||
cnt=0
|
||||
val=0
|
||||
|
@ -547,13 +547,13 @@ max=5000
|
|||
min=-5000
|
||||
pos=0
|
||||
|
||||
>B
|
||||
\>B
|
||||
div=pixels/steps
|
||||
=#prep
|
||||
ws2812(array)
|
||||
|
||||
; ledbar is set from broker
|
||||
>S
|
||||
\>S
|
||||
if ledbar<min
|
||||
then ledbar=min
|
||||
endif
|
||||
|
@ -622,7 +622,7 @@ endif
|
|||
array[cnt]=val
|
||||
next
|
||||
|
||||
>R
|
||||
\>R
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
#### Multiple IR Receiver Synchronization
|
||||
|
@ -635,7 +635,7 @@ istr=""
|
|||
ws="websend [192.168.178.84]"
|
||||
|
||||
; event section
|
||||
>E
|
||||
\>E
|
||||
; get ir data
|
||||
istr=IrReceived#Data
|
||||
|
||||
|
|
Loading…
Reference in New Issue