1

update pcspkdemo

This commit is contained in:
2022-07-11 18:32:39 +02:00
parent 24c418eb0a
commit 304eadc959
3 changed files with 10 additions and 7 deletions

View File

@ -0,0 +1,8 @@
#include "user/demo/PCSPKdemo.h"
void PCSPKdemo::run() {
(pcspk.*this->melody)(); // This syntax is confusing as hell
pcspk.off();
scheduler.exit();
}