Have not tried it yet, but I mashed in some ugly code for doing raspberry pi gpio.