MIMOlite Input Capability

I have this code based on Jitjaks code for I/O