The LCD monitor SMS 0601 program is provided by the manufacturer's accessory products and requires only the user to enter the user program if necessary. The contents displayed on the electrical energy meter part include time, electricity, volt voltage, and ampere current. The program design process displays the binary code to the main program as needed, and then sends the corresponding display code to the display buffer and calls the display program to display the power or time. In programming, the display buffer is defined in units of 50h to 56h in the data memory space of the MCU chip. When displaying two time interval characters, only the number of 01h or 02h can be transmitted to the 50h unit of the main program. Table search subroutine to provide display code:<br>Entry conditions: the searched content is in a, the first address of the table is in the dptr, and the two values are determined according to the main program<br>
正在翻译中..