Shop OBEX P1 Docs P2 Docs Learn Events
CTR Help (Duty at a Frequency) [RESOLVED] — Parallax Forums

CTR Help (Duty at a Frequency) [RESOLVED]

Bobb FwedBobb Fwed Posts: 1,119
edited 2009-09-14 23:05 in Propeller 1
I am slowly getting more of a grasp on counters, but still not great. Is there some centralized resource I can use? The counter object has a little, but doesn't cover even the half of it.

Anyway, to my question:
I want to output a frequency at a specified duty. I have written the PASM code to do it, but I am hoping for some help with the counters to produce higher frequencies. The frequency needs to be at a resolution of 1Hz (I only need whole numbers, but I can work with whatever). Is this even possible with the CTR without additional PASM help?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Post Edited (Bobb Fwed) : 9/14/2009 11:07:39 PM GMT

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-09-14 22:41
    Bobb Fwed said...
    Is this even possible with the CTR without additional PASM help?
    No. Check the OBEX for PWM objects.

    -Phil
  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2009-09-14 23:05
    Phil Pilgrim (PhiPi) said...
    No.
    OK. Well I've got my own PWM stuff that does what I want it to do.
    Thanks, I will continue my search for better PASM methods for what I am doing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    April, 2008: when I discovered the answers to all my micro-computational-botherations!
Sign In or Register to comment.