You will get a better response if you used the IDE Tools/Auto Format and then post the code again.
Next is copy the Serial output and place in code tags as well.
Maybe the Serial output will tell us where it is getting 'stuck' since you have not.
1 Like