https://github.com/RaD/armka_demos/blob ... ter/main.c
Then I have connected PWM output (PB9) with ICU input (PA0) with a wire.
Following values in disconnected state:
Code: Select all
Period: 708 Width: 676Following values in connected state:
Code: Select all
Period: 1 Width: 1Just don't understand how to use them. I think that Period has to be about 36000 and width about 12000.
How to check that PWM frequency is 36kHz?