All LEDs connected to portb blink with different frequencies

Test 4. All LEDs connected to portb blink with different frequencies

For the internal generator frequency of 37 kHz the machine cycle equals 108 us. In order to achieve LEDs blinking with various frequency we use TMR0 presca- ler. Frequencies are deployed within the range: 55 ms to 7.079 s according to the table:Interfacing PIC Microcontrollers to Peripherial Devices-0259Interfacing PIC Microcontrollers to Peripherial Devices-0260

Leave a comment

Your email address will not be published. Required fields are marked *