Skip to main content
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
Results tagged with
Search options not deleted user 79

PWM is a form of signal modulation that allows digital output to approximate an analog signal. Use this for questions about using the PWM pins (marked with ~).

3 votes

Controlling water temperature accurately

Use a higher PWM for great differences and then lower PWM for when close to target. Once homed in on your target, there are a few means you can try to improve temperature stability. …
Krista K's user avatar
  • 526
2 votes
1 answer
645 views

Set PWM by period? And have it variable?

There is a popular PWM library however it doesn't compile and also since 63 ms is 15.8 Hz, that library's integer Hz setting isn't of help. …
Krista K's user avatar
  • 526
2 votes

Set PWM by period? And have it variable?

When loop() sees the ADC change, the below code adjusts the PWM accordingly. Note that no floating point data types are used. … OCR5B = dwell; } Obviously, this code will have limitations to the range of frequencies it can handle, but the Internet has plenty of means for higher frequency PWM, especially when the desired PWM is …
Krista K's user avatar
  • 526