il problema sta nel fatto che quando flash passa i 180
non va a 181 ma a -179.

Vediamo che si può fare....