As the title says... Chat on...

User avatar
By simplesi
#30802 I've code like this
Code: Select allgpio.trig(7,"both",function(level)
  print ("level7: " .. level)
end)

Code: Select allgpio.trig(8,"both",function(level)
  print ("level8: " .. level)
end)

etc for other pins

Is there a more economic way of doing this?

Simon