P10 Cell Board 08 Interface 12 interface 1/4 sweep 1/8 sweep

Source: Internet
Author: User

At present, I have 12 interfaces on hand in the outdoor 1/4 sweep Unit board, the initial understanding of the interface:

OE is display enable, AB is row selectable, default high = 4 lines, all low = 1 rows, a low = 2 rows, b low = 3 rows.

R is serial data, S is serial clock, L is latch and shift.

To lsbfirst low-level output light, that is, Common Yang.

It is worth mentioning that you can send many bytes of byte at a time, then latch the display, the code is as follows:

Digitalwrite (Latchpin,low);    Add a low level to the ST_CP port so that the chip is ready to receive data//shiftout (DATAPIN,CLOCKPIN,MSBFIRST,A);    Shiftout (Datapin,clockpin,lsbfirst,a);    Shiftout (datapin,clockpin,lsbfirst,255); This is to use the Msbfirst parameter to let 0-7 pins with high output (Lsbfirst low) is the parameter of the Datapin,//clockpin parameter is the variable A, the previous we said that this variable will be one time from 1+1+ to 256, is a decimal number,//input to the chip will produce 8 binary number, to achieve the function of the switch digitalwrite (Latchpin,high); Restore the ST_CP pin to the high-level delay (1000); Pause for 1 seconds so you can see the effect


P10 Cell Board 08 Interface 12 interface 1/4 sweep 1/8 sweep

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.