Mercurial > espworkshop
changeset 32:071f5f765ec8
Fix beeber deinit.
| author | lukasgin@lukass-macbook-pro.local |
|---|---|
| date | Fri, 24 Jun 2016 00:01:40 +0200 |
| parents | 001f4b12fbc0 |
| children | 61d01865fc86 |
| files | basics.rst |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/basics.rst Thu Jun 23 23:47:02 2016 +0200 +++ b/basics.rst Fri Jun 24 00:01:40 2016 +0200 @@ -335,7 +335,7 @@ for tone, length in zip(melody, rhythm): beeper.freq(tones[tone]) time.sleep(tempo/length) - beeper.deinit() + beeper.deinit() Unfortunately, the maximum frequency of PWM is currently 1000Hz, so you can't play any notes higher than that.
