use gpio in real mode