Whoops, forgot about gpio direction. Also added a speedtest.