Working serial->parallel and valid flag

First piece of code tested and working from today