ready to alpha
подготовка к альфа-тестированию
This commit is contained in:
commit
e36b851783
164 files changed
+27352
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#ifndef _TONE_H_
|
||||
#define _TONE_H_
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
#define TONE_MIN_FREQUENCY_HZ 4
|
||||
#define TONE_MAX_FREQUENCY_HZ 40000
|
||||
|
||||
/*
|
||||
* \brief
|
||||
* Start tone on specified pin with frequency in range
|
||||
* TONE_MIN_FREQUENCY_HZ...TONE_MAX_FREQUENCY_HZ.
|
||||
* If duration = 0, tone won't stop until noTone() has called
|
||||
*/
|
||||
void tone(uint8_t pin, unsigned int frequency, unsigned long duration = 0);
|
||||
|
||||
/*
|
||||
* \brief
|
||||
* Stop tone on specified pin
|
||||
*/
|
||||
void noTone(uint8_t pin);
|
||||
|
||||
#endif /* _TONE_H_ */
|
||||
Reference in new issue
Block a user