Minggu, 04 November 2012

Beranda » LED Blinking PIC16F877A

LED Blinking PIC16F877A

void main()
        {
        TRISB = 0 ;     // set PORTB as OUTPUT         for(;;)         // forever
                {
                PORTB = 0xff ;          // turn all LEDs ON
                Delay_ms(500) ;         // wait 500 ms
                PORTB = 0 ;             // turn all LEDs OFF
                Delay_ms(500) ;         // wait 500 ms
                }
        }

Circuit2017
circuit2017.
 

Tidak ada komentar:

Posting Komentar

Diberdayakan oleh Blogger.