Turns out there was an exclamation mark in the line checking the status bit for the program operation, and we were using the wrong bit to clear the status register too. Also it turns out we could drop the max timeout down to 5ms after that change.
There was an issue with program() not being called at the right time, so line 175 had to be changed. It calls it one iteration of the loop earlier.
Turns out there was an exclamation mark in the line checking the status bit for the program operation, and we were using the wrong bit to clear the status register too. Also it turns out we could drop the max timeout down to 5ms after that change.
There was an issue with program() not being called at the right time, so line 175 had to be changed. It calls it one iteration of the loop earlier.
There were also a couple of typos.