matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9940
Posted: 02:15pm 28 Nov 2022
The manual is sort-of correct except that we don't have the syntax for the real situation which is that one of dutyA or dutyB is manadatory but it doesn't have to be dutyA like in other MMBasic versions. I think this is explained in the text of the latest version.
To drive the buzzer you really want to use an H bridge so that it sees +/- 5V