Write gpio for rpi