aboutsummaryrefslogtreecommitdiff
path: root/variants/smartresponse_xe/ArduinoCompat.h
blob: bbe17fcdd207da6d0da68309ae4d7df044c5d0ca (plain)
1
2
3
4
5
6
7
#pragma once

#include <Arduino.h>

#ifndef digitalPinToInterrupt
#define digitalPinToInterrupt(p) ((p) == 15 ? 2 : ((p) == 14 ? 3 : ((p) == 20 ? 4 : NOT_AN_INTERRUPT)))
#endif