I have needed to make some changes to the c code as there are a few errors in pin and gpio assignments.
Not all of the pins are mapped to a gpio and pin 23 was transposed with its neighbour.
I appreciate that this may have been done Intentionally for your needs?
Happy to post the corrected version if anyone is interested?