Added GPIO init code.