Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Defines how often something occurs, such as pulses in a digital signal, or oscillations in a radio wave.
2
votes
3
answers
3k
views
Contoller for a stepper motor
is 490 Hz (default value)
prescalar = 4 ---> PWM frequency is 120 Hz
prescalar = 5 ---> PWM frequency is 30 Hz
prescalar = 6 ---> PWM frequency is <20 Hz
which is not sufficient for my application. … = 500; frequency < 3000; frequency = frequency + 1) {
float T = 1 / frequency * 1000000;
Serial.print("Frequency: ");
Serial.println(frequency);
Timer3.initialize(T);
Timer3.pwm(pinPWM …