Further followup…
I am getting good results now sending /grid/led/level/map commands to my teensy grid from my Mac (using maxpats). However, when I plug into my raspi-norns, I’m not getting leds lighting up properly (they flash very intermittently).
Any script that lights/dims a specific led works fine for me (like jah/step.lua). But, any of the tehn scripts that do the following do not work.
function gridredraw()
g:all(0)
g:led(x,y,val)
g:refresh()
end
So perhaps I’m still parsing the data wrong, or norns is sending things in a slightly different way than Max/serialosc on my mac?
@zebra can you confirm that norns is sending the level/map data in the same exact way? I can’t make sense of ‘dev_monome_refresh()’ in device_monome.c
Also from the norns docs - the following makes zero sense to a newb (like me). What’s a quad, why is it dirty?
refresh ()
update any dirty quads on this grid device]
EDIT: curious - if I change to the following I can get awake to show leds
function gridredraw()
g:all(0)
g:refresh()
g:led(x,y,val)
g:refresh()
end