freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于amega16單片機(jī)的數(shù)控直流穩(wěn)壓電源設(shè)計(jì)論(編輯修改稿)

2024-07-13 13:38 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 // 必須包含這2個(gè)必要的頭文件includeinclude/*****************數(shù)碼管接口定義*********************/// 定義接口define SCK PC7define RCK PC6define OE PC5define SER PC4define SMG3 PC3define SMG2 PC2define SMG1 PC1define SMG0 PC0 define IO_DDR DDRCdefine IO_PORT PORTC// 定義接口的高、低電平define SCK_H IO_PORT|=1SCKdefine SCK_L IO_PORTamp。=~(1SCK)define RCK_H IO_PORT|=1RCKdefine RCK_L IO_PORTamp。=~(1RCK)define OE_H IO_PORT|=1OEdefine OE_L IO_PORTamp。=~(1OE)define SER_H IO_PORT|=1SERdefine SER_L IO_PORTamp。=~(1SER)define SMG3_H IO_PORT|=1SMG3define SMG3_L IO_PORTamp。=~(1SMG3)define SMG2_H IO_PORT|=1SMG2define SMG2_L IO_PORTamp。=~(1SMG2)define SMG1_H IO_PORT|=1SMG1define SMG1_L IO_PORTamp。=~(1SMG1)define SMG0_H IO_PORT|=1SMG0define SMG0_L IO_PORTamp。=~(1SMG0)/*************端口說明及宏定義**************///PB為鍵盤所在端口define key_DDR DDRBdefine key_PORT PORTBdefine key_PIN PINB//*****************************************// //**將兩個(gè)pragma中間的數(shù)據(jù)放到程序寄存器中 即放到flash中**// //** 以免占用內(nèi)存 即sram的空間 **//pragma data:codeconst unsigned char table[]={0xfc,0x60,0xda,0xf2,0x66,0xb6,0xbe,0xe0,0xfe,0xf6, // 數(shù)字字模 0x01}。// 小數(shù)點(diǎn)位pragma data:data//************************************************************************//void delay_ms(unsigned int t) // 毫秒級(jí)延時(shí)函數(shù){ while(t) { delay_us(1000)。 // 執(zhí)行時(shí)間大約1ms }}void delay_us(unsigned int t) // 微秒級(jí)延時(shí)函數(shù){ whil
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1