Added a grid example(video)!
Grid
In Maiden, look at the ninth example file of this tutorial.
-
Connect a Monome grid device, and select it in
SYSTEM > GRID.
-
Navigate to the ninth example with
code > tutorial > 9_grid.lua.
-
Send it to the device by clicking on the play button to the top right of the Maiden window.
-
Touch a button on the grid and watch it light up on the Norns.
-
Move the light across the monome by turning the knobs on the Norns.
-
Change the brightness by pressing the buttons on the Norns.
To communicate with the grid, you need to connect to the grid with g = grid.connect(), and give it a method to get the key event, like g.key = on_grid_key. The led(x,y,brightness) method allows you to toggle LEDs.
g:all(0)
g:led(1,2,15)
g:refresh()