pimatic / RFControl

433mhz rf sniffer and receiver
GNU General Public License v3.0
117 stars 34 forks source link

Translate pins to interrupts on Arduino #19

Closed emilmelnikov closed 6 years ago

emilmelnikov commented 7 years ago

attachInterrupt() and detachInterrupt() should be called with interrupt numbers, not pin numbers.

See Arduino docs