created gpio write block