Skip to content
Discussion options

You must be logged in to vote

tbh, PWM code without an explicit frequency should break, because not enough information has been specified.

@gregwa1953 - you seem to declare things as "broken" (like the I2C discussion before) when you've not specified enough parameters. Don't try to get away with writing the shortest line of code that works now: specify everything you need, and future you will thank you for the clarity when you come to reuse/extend/refactor the code. If, however, fully specified parameters fail to work that used to work fine, that might indicate a breaking change, and it could need attention.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@jimmo
Comment options

@scruss
Comment options

Answer selected by gregwa1953
@gregwa1953
Comment options

@jimmo
Comment options

@gregwa1953
Comment options

@scruss
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants