Added plain GPIO version