AVR單片機頻率計設計 頻率輸入源STM32口
完整的程序源碼下載:http://www.51hei.com/f/avrplj.rar
//---------------------AVR代碼-----------------------
//芯片用ATMEG16
#include
#define uchar unsigned char
#define uint unsigned int
__flash uchar seg[17]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07, //數(shù)碼管碼表
0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,0x80};
__flash uchar tab[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f}; //數(shù)碼管位選
關鍵詞:
AVR單片機頻率計STM3
評論