RSeries astromech firmware
ServoDecoder.h File Reference
#include "ReelTwo.h"
#include "core/SetupEvent.h"
#include "core/AnimatedEvent.h"
+ Include dependency graph for ServoDecoder.h:

Go to the source code of this file.

Classes

class  ServoDecoder
 

Macros

#define ATTACH_INTTERUPT(num)
 
#define DEFINE_ISR_HANDLER(n)
 

Macro Definition Documentation

◆ ATTACH_INTTERUPT

#define ATTACH_INTTERUPT (   num)
Value:
case num: \
attachInterrupt(inum, ISR_##num, CHANGE); \
break;

◆ DEFINE_ISR_HANDLER

#define DEFINE_ISR_HANDLER (   n)
Value:
static void ISR_##n() \
{ \
ISR_generic(n); \
}