Add some other board initialisation options

- Option to disable input pull up resistors
- Option to invert the input and output polarities