Starting to work on a schematic. Here is what I have after the first attempt. I have to add in pull-ups and pull downs at the appropriate places. But it’s a start.