nathankellenicki / node-poweredup

A Javascript module to interface with LEGO Powered Up components.
https://nathankellenicki.github.io/node-poweredup/
MIT License
478 stars 59 forks source link

Example how to use PiezoBuzzer? #128

Closed pimpelsang closed 3 years ago

pimpelsang commented 3 years ago

Hi,

Thanks for this awesome library!

I noticed Wedo 2.0 and this library has also a Piezo support, but nothing in documentation how to actually use it? Is there any example projects or code that use it? I think one example for it would be very handy and extend the wedo2 typical usage.

pimpelsang commented 3 years ago

Ok, was easy. https://gist.github.com/pimpelsang/1e7a2b67bd0dea468b348412d4a96af0 and to test with wedo2: https://gistpreview.github.io/?1e7a2b67bd0dea468b348412d4a96af0