Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Aha - You put me on the right track but I had to make changes to the loop structure to make it work like this -
Delay
movlw D'26'
movwf CounterB
loop2
movlw D'247'
movwf CounterA
loop decfsz CounterA,1
goto loop
decfsz CounterB,1
goto loop2
retlw 0
If I don't put the extra...
Hi all
I have been banging my head against the desk all day on this one.
My ultimate goal is to create a 50Hz PWM to control a servo but for now I am just trying to get some loops working as they will form the core of this.
I have generated loop code using the tool at piclist and using picloops...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.