Cpp edit
Changed the read function(s) to return the shifted value.
Implemented the write function(s).
Fixed python shebang.
Has been tested on my counter, where expected outcomes were achieved. Sadly I only have the .xsa for a zcu102 board.
Edited by Morten Haahr Kristensen