欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標(biāo)題: LCD1602控制顯示程序(STM32單片機(jī)) [打印本頁]

作者: noble_purple    時(shí)間: 2024-7-19 12:27
標(biāo)題: LCD1602控制顯示程序(STM32單片機(jī))
//主程序展示,相關(guān)函數(shù)定義見附件
#include "stm32f10x.h"
#include "interface.h"
#include "LCD1602.h"
//全局變量定義
char ctrl_comm = COMM_STOP;//控制指令

int main()
{               
  GPIOCLKInit(); //調(diào)用IO口使能時(shí)鐘函數(shù)
        UserLEDInit(); //調(diào)用LED燈函數(shù)
        FMInit();
        LCD1602Init();
        while(1)
        {
   LCD1602WriteCommand(ctrl_comm);
        }
}

原理圖: 無
仿真: 無
代碼: 6 LCD1602實(shí)驗(yàn).7z (179.82 KB, 下載次數(shù): 19)





歡迎光臨 (http://m.raoushi.com/bbs/) Powered by Discuz! X3.1