wulin 發(fā)表于 2024-3-27 06:28
多了分號(hào)
#define LCD_ON LCD_BACKLIGHT = 1;
#define LCD_OFF LCD_BACKLIGHT = 0;
STC莊偉 發(fā)表于 2024-3-27 08:52
要吃透范例
...
君工創(chuàng) 發(fā)表于 2024-3-27 19:45
while (1)
{
Delay_ms(100);
STC莊偉 發(fā)表于 2024-3-27 08:52
要吃透范例
...
@GS 發(fā)表于 2024-3-27 23:02
不得,這和io口沒多大關(guān)系吧,我前面都設(shè)置它為推挽輸出工作模式了
coody_sz 發(fā)表于 2024-3-28 09:49
首先,你要確認(rèn)Delay_ms(100);是否是100ms。
mtt661 發(fā)表于 2024-3-28 13:35
Delay_ms(100);
//熄屏省電判斷
if(++power_saving_timer > 299){//30秒熄屏
歡迎光臨 (http://m.zg4o1577.cn/bbs/) | Powered by Discuz! X3.1 |