-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add tones for buzzer - add rtc 8563 for Elecrow C3 - fix #11 compile error - add face selector
- Loading branch information
Showing
8 changed files
with
254 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"75_2_dial.h": "c", | ||
"radar.h": "c", | ||
"79_2_dial.h": "c", | ||
"racing.h": "c" | ||
"racing.h": "c", | ||
"chrono": "cpp" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
|
||
#ifndef TONE_H | ||
#define TONE_H | ||
|
||
#define TONE_AN 220 // 440 Hz | ||
#define TONE_AS 233 // 466 Hz | ||
#define TONE_BN 247 // 493 Hz | ||
#define TONE_CN 261 // 523 Hz | ||
#define TONE_CS 277 // 554 Hz | ||
#define TONE_DN 294 // 588 Hz | ||
#define TONE_DS 311 // 622 Hz | ||
#define TONE_EN 330 // 658 Hz | ||
#define TONE_FN 349 // 698 Hz | ||
#define TONE_FS 370 // 740 Hz | ||
#define TONE_GN 392 // 784 Hz | ||
#define TONE_GS 415 // 830 Hz | ||
// defines for the duration of the notes (in ms) | ||
// #define WH 1024 | ||
// #define H1 100 | ||
// #define DQ 448 | ||
// #define Q 256 | ||
// #define qt 170 | ||
// #define de 192 | ||
// #define e 128 | ||
// #define et 85 | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.