Improve SPI. Initial work on Digital Input. board-generic added.