LCD1602清屏指令導致光標左移 指令失效,光標右移指令不受影響。所以如果想光標左移,把命令寫到清屏指令後面

void LcdInitiate(void) {    delay(15);             //延時15ms,首次寫指令時應給LCD一段較長的反應時間    WriteInstruction(0x38);  //顯示模式設置:16×2顯示,5×7點陣,8位數據接口     delay(5);   //延時5ms      WriteInstruction(0x38);     delay
相關文章
相關標籤/搜索