Skip to main content
Arduino

Timeline for PWM Every Other Pin Doesn't Read

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jul 6, 2016 at 22:58 comment added Jacksonkr I see you added example code afterward, I must have missed it the first time. I plugged it in and it worked with my RC flawlessly the first time. I modified the delay from 1000 to 10 and that's it. This answer deserves more than the +1 I already gave it.
Jun 28, 2016 at 3:48 vote accept Jacksonkr
Jun 26, 2016 at 20:03 history edited Edgar Bonet CC BY-SA 3.0
+ example code.
Jun 26, 2016 at 17:40 comment added Edgar Bonet The code you linked to sets individual bits in PCMSKn, PCIFR and PCICR, and it defines the ISR(PCINTn_vect). This is exactly the kind of "low-level" programming I was talking about. Note that if using pins 2 – 7, you only need to set one PCMSK (namely PCMSK2) and only define ISR(PCINT2_vect).
Jun 26, 2016 at 13:38 comment added Jacksonkr Would this sort of integration count? playground.arduino.cc/Main/PinChangeInterrupt
Jun 26, 2016 at 10:15 history answered Edgar Bonet CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /