Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

pic18f452 problem

Status
Not open for further replies.

esconele

New Member
hello,
i'm using pic18f452 for generating 5hz pulses. i require 6 pulses with same frequency and 120 degree phase shift in between three of them and 180 degree in other three and require 5microsecond delay in between two pulses i'vw written like this
movlw b'00111000'
movwf portd
and in timer3 isr i'm rotating this for 5hz like
rrcf portd
bcf portd,7
btfsc status,c
bcf portd,5
it is giving me 5hz pulses with required phase shifts but how to give 5microsecond delay in between them.
thank you.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top