Announcement

Collapse
No announcement yet.

PIC 16F628A and HPWM implementation

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    DavidP,

    I know you're absolutely right about the sensor polling strategy you suggested because that is what I'm doing now (without the HPWM.)

    Thanks for pointing out that HPWM runs in the background and that I can still look at the sensors in a loop in the main program line. That is exactly the insight I needed.

    I suppose that using interrupts to check the sensors might be a bit overkill. I did want to begin to get comfortable using interrupts though. The test and learning exercises I've done with interrupts have gone well so far and I thought I might take it to the next step.

    Still, it looks like the best thing to do is follow the "Keep It Simple Stupid" rule.

    A.

    Comment


    • #17
      Don't get me wrong, interrupts are a great thing and I use them all the time. I don't know what I would do with out them. Maybe you can use them for some kind of timing situation?
      Dave Purola,
      N8NTA
      EN82fn

      Comment

      Working...
      X