Merge branch 'arduinoGemmaInterrupts' of https://github.com/agdl/Arduino

This commit is contained in:
Cristian Maglie 2015-10-23 11:00:25 +02:00
commit 8364a0c1a3
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ static const uint8_t A3 = 9;
#define digitalPinToPCMSK(p) ( ((p) <= 4) ? (&PCMSK) : ((uint8_t *)0) )
#define digitalPinToPCMSKbit(p) ( (p) )
#define digitalPinToInterrupt(p) ((p) == 2 ? 0 : NOT_AN_INTERRUPT)
#define analogPinToChannel(p) ( (p) < 6 ? (p) : (p) - 6 )
#define TCCR1A GTCCR