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.

:; Struggling With PWM ::

Status
Not open for further replies.
hard to say in general but usually it just means 1 match register (duty cycle reg) per PWM output. Some micros have multiple match regs associated with a given timer - the msp430, for example, has 2 or (iirc) more depending on the version.
 
hi, mike

I think i understand the main part of your code, but I dont understand the part where you record the state - why do you 'swapf STATUS,W' twiee? surely this does nothing? perhaps I am not understanding something about interrupts?

Thanks
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top