piano-C51/freqtab.h
2018-04-14 13:20:15 +08:00

12 lines
597 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//三个八度的十二音阶对应的定时器初值20MHz晶振
unsigned char code FreqTabHigh[]={0x00,
0xF3, 0xF4, 0xF4, 0xF5, 0xF6, 0xF6, 0xF7, 0xF7, 0xF8, 0xF8, 0xF9, 0xF9,
0xF9, 0xFA, 0xFA, 0xFA, 0xFB, 0xFB, 0xFB, 0xFB, 0xFC, 0xFC, 0xFC, 0xFC,
0xFC, 0xFD, 0xFD, 0xFD, 0xFD, 0xFD, 0xFD, 0xFD, 0xFE, 0xFE, 0xFE, 0xFE,
};
unsigned char code FreqTabLow[]={0x00,
0x8E, 0x41, 0xEA, 0x89, 0x1F, 0xAD, 0x33, 0xB2, 0x29, 0x9A, 0x04, 0x68,
0xC7, 0x20, 0x75, 0xC4, 0x0F, 0x56, 0x99, 0xD9, 0x14, 0x4D, 0x82, 0xB4,
0xE3, 0x10, 0x3A, 0x62, 0x87, 0xAB, 0xCC, 0xEC, 0x0A, 0x26, 0x41, 0x5A,
};