Page 1 of 1

tone() notone()

Posted: Sat Nov 28, 2020 9:04 am
by ik1wvq
Hi,
are the tone() notone() Arduino functions implemented for "Leaflabs Maple" ??
Many thanks in advance

best regards

Mauro ik1wvq

Re: tone() notone()

Posted: Sat Nov 28, 2020 10:51 am
by fpiSTM
A simple search on the GitHub repo:
For STM32F1, I guess you have to include tone.h in your sketch:
https://github.com/rogerclarkmelbourne/ ... ple/tone.h

Not found for STM32F4. @stevestrong could confirm.

Re: tone() notone()

Posted: Sat Nov 28, 2020 3:05 pm
by ag123
for F4 one could probably try copying tone.h and tone.cpp and use them like a 'library'. it'd probably simply work building with the sketch as source. i've not tried though

Re: tone() notone()

Posted: Sat Nov 28, 2020 8:25 pm
by mrburnette
ik1wvq wrote: Sat Nov 28, 2020 9:04 am ...
are the tone() notone() Arduino functions implemented for "Leaflabs Maple" ??
...
Libmaple docs still online: http://docs.leaflabs.com/docs.leaflabs.com/index.html

To my knowledge, Roger took nothing out and enhanced several functions, while fixing a few issues.