Updated Script Cookbook (markdown)

gemu 2019-07-28 19:35:14 +02:00
parent 2cb0205d31
commit e402decac2
1 changed files with 88 additions and 89 deletions

@ -565,7 +565,7 @@ endif
pos=(ledbar/max)*(pixels/2)
if ledbar>0
then
pos+=(pixels/2);
pos+=(pixels/2)
if pos>pixels-1
then pos=pixels
endif
@ -598,7 +598,7 @@ then
ws2812(array)
endif
; subroutine for grid
#prep
for cnt 1 pixels 1
ind+=1
@ -619,7 +619,6 @@ then val=colg1
else val=colg2
endif
endif
;->print %cnt% %tog%
array[cnt]=val
next