Top  Previous  Next

When Girder is running on a Raspberry Pi, you can modify the GPIO pins from Lua with these commands. The commands take pin numbers as input. To find the right pin you can consult the documentation available here:




To use these functions don't forget to add to the top of your script.

local raspi = require("raspi")