change gpio according to raw code test