#include __CONFIG(0x3f38); // Disable watchdog, use internal RC oscillator, RA6/RA7 as I/O //----------------------------------- // Delay function void delay() { int i; // Define loop variable for(i=5000; i>0; i--) // Control the number of cycles { NOP(); // Consume one instruction cycle NOP(); } } //---------------------------------- // Initialization function void init() { TRISA = 0x00; // Set PORTA as output TRISB = 0x00; // Set PORTB as output } //--------------------------------- // LED lighting function void LED() { char i; // Define loop variable while(1) { PORTA = 1; // Light RA0 delay(); delay(); delay(); PORTA = 2; // Light RA1 delay(); delay(); delay(); PORTA = 4; // Light RA2 delay(); delay(); delay(); PORTA = 8; // Light RA3 delay(); delay(); delay(); PORTA = 0x40; // Light RA6 for(i=2; i>0; i--) // Loop twice (RA6 to RA7) { delay(); delay(); delay(); // Call delay three times to control the flashing speed PORTA = PORTA << 1; // Light the next LED } PORTA = 0; // Clear all LEDs on PORTA PORTB = 1; // Light RB0 for(i=8; i>0; i--) // Loop eight times (RB0 to RB7) { delay(); delay(); delay(); PORTB = PORTB << 1; // Shift to the next LED } PORTB = 0; // Clear all LEDs on PORTB } } //--------------------------------------- // Main function void main() { init(); // Call initialization function LED(); // Call the LED function }

LED Modules

What is the size of the LED display module?

The LED module is divided into two categories. The indoor led module is generally called table stickers (three -in -one table stickers); outdoor and semi -outdoor are generally called modules. The characteristics of indoor table stickers: high image clarity, color and richness, not enough for high prices; outdoor and semi -outdoor module unit board features: high brightness, waterproof, rich color.



We can choose according to several important parts of the module?
1. Select according to the lamp bead of the module
The quality of LED lamp beads determines the color saturation and clarity of the performance of the entire LED display display. Therefore, the LED module's lamp beads are particularly important at the raw material selection and packaging process. It directly determines the quality and performance of the LED display module product product quality and performance.
2. Select according to the PCB board of the module
PCB boards with stable performance LED display modules are generally composed of substrates and metal coatings. Because there are many links in the quality of PC boards in the external environmental impact module during the application process
3. Select according to the suite of the module
The LED unit board module kit is one of the main causes of the display effect, and is the key element of the entire unit board and the entire stitching screen. The LED unit board kit must be able to prevent moisture, waterproof, and ultraviolet protection, and the quality of the kit will affect the flatness, contrast and service life of the display.


led display module .smd led modules.led screen module

Shenzhen Priva Tech Co., Ltd. , https://www.privaled.com