初始化提交

This commit is contained in:
王立帮
2024-07-20 22:09:06 +08:00
commit c247dd07a6
6876 changed files with 2743096 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#ifndef _TONE32_h
#define _TONE32_h
#define TONE_CHANNEL 15
#include "Arduino.h"
#include "pitches.h"
void tone(uint8_t pin, unsigned int frequency, unsigned long duration = 0, uint8_t channel = TONE_CHANNEL);
void noTone(uint8_t pin, uint8_t channel = TONE_CHANNEL);
void buzzer_music(uint8_t pin, uint8_t num,uint8_t channel);
#endif