updated gpio to support inverting signals