Piezo Vibration Sensor demo
Dependencies: PCA9622_LED8x8 mbed
tone_table.h
- Committer:
- MACRUM
- Date:
- 2015-07-26
- Revision:
- 0:2f98d8d6ef4b
File content as of revision 0:2f98d8d6ef4b:
/**
* PWM tone table : cycle (us) of PWMed tone
*
* @author Toyomasa WATARAI
* @version 1.0
* @date 25-July-2015
*
*
*/
#ifndef TONE_TABLE_H
#define TONE_TABLE_H
const int tone_table_us[] = {
0, // No tone 0
3820, // C 1
3610, // C# 2
3410, // D 3
3210, // D# 4
3030, // E 5
2860, // F 6
2700, // F# 7
2550, // G 8
2410, // G# 9
2270, // A 10
2150, // A# 11
2020, // B 12
1910 // C 13
};
#endif
Toyomasa Watarai