pic16f84a

  1. S

    Multitask on PIC16F84A

    The CPU will execute two tasks in parallel. The first task will be a normal program execution loop which continuously tests an active-low switch connected to RB3. When the switch is pressed, an active-high LED connected to RB4 will turn on for 1 second (using software delay). Any switch presses...
  2. S

    Counting pulses at Timer0

    Count the number of pulses fed into the T0CKI pin, display the count on PORTB, and set the RA3 bit when the count reaches the decimal value of 100. The count will be continuously displayed on PORTB after setting the RA3 bit. using ASSEMBLY language example: movlw counter movwf PORTB .......
  3. S

    Generate square wave

    I need help generating a square wave of 500 Hz(+-1% timing accuracy) square wave with a 25% duty cycle at RB3 when the FOSC = 4 MHz I am completely loss on how to do it
Cookies are required to use this site. You must accept them to continue using the site. Learn more…