Adding GPIO input read and 4 pin out