Import sstruct
Fix naming of gpio functions