About Arduino's LCD1602 LCD program, urgent!!! Novice help!!
Author:Zhu Chunming Time:2021-07-22 13:34 Browse(532)
Bit read instruction, bitread (x, n), X: the number to be read
Bit read instruction, bitread (x, n), X: the number to be read, N: the bit to be read, 0 is the rightmost bit... Then it's easy to understand. Because 1602 should use parallel connection mode at present, several bits are parallel data ports (I haven't used them for a long time, I don't remember). The first statement is to output addres from bit 5 in binary mode, from left to right, on the LCD 1602pins  port;. The second sentence means to output ASCII in binary form from the 8th bit to the LCD 1602pins  port from left to right.. First test it separately, then combine the two codes. LCD 1602 with I2C module more convenient, code from the Internet to find the library..