Skip to content

Instantly share code, notes, and snippets.

@fardles
Created December 14, 2021 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fardles/ceea9532202acc5f71e942c32f69e328 to your computer and use it in GitHub Desktop.
Save fardles/ceea9532202acc5f71e942c32f69e328 to your computer and use it in GitHub Desktop.
include 'lib/nest/core'
include 'lib/nest/norns'
include 'lib/nest/grid'
n = nest_ {
light = _grid.number {
x = { 1, 5 },
y = { 1, 5 },
level = {4, 15},
action = function(self, value)
print(value)
end
}
}
n:connect { g = grid.connect() }
function init() n:init() end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment