Search found 2 matches

by greenail
Thu Jan 23, 2020 11:38 pm
Forum: General discussion
Topic: Servo with SSD1306 and TIMER_INPUT_FREQ_DUTY_MEASUREMENT
Replies: 4
Views: 4354

Re: Servo with SSD1306 and TIMER_INPUT_FREQ_DUTY_MEASUREMENT

It is a blue pill f103

I have it working now. I had to delay after the servo.write and I also changed the prescaler on the timer. Not sure which one fixed it or if both helped.

Now i need to get it in a shielded box since the EMI from the spindle motor creates noise and false readings when running ...
by greenail
Wed Jan 22, 2020 12:04 am
Forum: General discussion
Topic: Servo with SSD1306 and TIMER_INPUT_FREQ_DUTY_MEASUREMENT
Replies: 4
Views: 4354

Servo with SSD1306 and TIMER_INPUT_FREQ_DUTY_MEASUREMENT

I'm trying to turn a knob with a servo for ... reasons ... and while all of the features I want are working individually they do not work when combined.

My code is here: https://gist.github.com/jschoch/9afa3cf07b9ed465835f262ef394956b

Right now the servo writes to the 0 position on setup. This is ...

Go to advanced search