For this to work the driver needs to know the bank it has attached to since the registers for the first 12 pins are at a different location. Move the lock initialization to simplify the code.
For this to work the driver needs to know the bank it has attached to since the registers for the first 12 pins are at a different location. Move the lock initialization to simplify the code.