VB how to write PPI Protocol Serial Port to Control single Chip Microcomputer LED
This article introduces the "VB how to write PPI protocol serial port control single-chip microcomputer LED" related knowledge, in the actual case operation process, many people will encounter such a dilemma, and then let the editor lead you to learn how to deal with these situations! I hope you can read it carefully and be able to achieve something!
This task is to realize the PPI protocol to control the single-chip microcomputer LED lamp on and off and LED lamp state reading through VB programming.
Have not contacted the PPI agreement before, find to write the information, can be regarded as the preliminary understanding, see the following PPI protocol description
Upper computer control interface
Simulation interface
VB host computer, can achieve serial port parameter setting function, easy to debug and use, key function
1. Light up LED and open LED in the simulation software.
2. Turn off LED and turn off LED in the simulation software
3. Read the status and return to the state of the LED light in the simulation software. At the same time, the state analog light turns off synchronously.
Through this experiment, we can master PPI communication preliminarily.
"VB how to write PPI protocol serial port control single-chip microcomputer LED" content is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!