Fixed barel-organ to play melody
At least STM32G4:adjusting frequencie:If the period register already was above the new set one,timer wont hit it for a long time, causing timer not to work forlong time.Register has to be set to zero in that case.
Fixed barel-organ to play melody
At least STM32G4:
adjusting frequencie:
If the period register already was above the new set one,
timer wont hit it for a long time, causing timer not to work for
long time.
Register has to be set to zero in that case.