Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: rlmnky

Search: Search took 0.00 seconds.

  1. per your suggestions, i removed the ISRs and...

    per your suggestions, i removed the ISRs and incorporated the bounce2 routines. this works perfectly. my sincere thanks to you both.
  2. I believe i grasped that and indeed that fixed...

    I believe i grasped that and indeed that fixed the issue. it reads the switch perfectly now. Here'd the revised routine. thanks gentlemen. I"ll sleep better tonight.


    void heattimer(){ ...
  3. okay, i took everything out of the rheatISR and...

    okay, i took everything out of the rheatISR and added "rhFlag = digitalReadFast (RUN_PIN);" as suggested. That runs and has the added benefit of allowing the operator to keep the heater active for...
  4. I知 already planning to eliminate the ISRs. ...

    I知 already planning to eliminate the ISRs.

    Your comment abt my code looking like .asm code made me smile. Old habits are hard to break.
  5. And yes, that 100ms inside the ISR was just for...

    And yes, that 100ms inside the ISR was just for denounce and I can see that would be bad practice in most code since it will defeat the main usefulness of an ISR - fast response to a a randomly...
  6. Thanks to both of you. I’ll go back and change...

    Thanks to both of you. I’ll go back and change those things and let you know how it goes.
  7. I understand abt the delay in a ISR. I値l take...

    I understand abt the delay in a ISR. I値l take care of that. The failure I知 having is when the heattimer routine is called. Are you saying that I shouldn稚 or can稚 use the digitalReadFast inside an...
  8. Teensy 3.2, part of my code will only read pins as HIGH and I'm really puzzled

    I'm a retired EE and decided I'd tackle one more project. this time something that has no deadline or budgetary constraints because is just something I'd like to tryout. First let me say that I'm...
Results 1 to 8 of 8