Added preliminary support for 48 gpio pins