|
|
@ -32,8 +32,6 @@
|
|
|
|
#undef _BV
|
|
|
|
#undef _BV
|
|
|
|
#define _BV(b) (1 << (b))
|
|
|
|
#define _BV(b) (1 << (b))
|
|
|
|
|
|
|
|
|
|
|
|
#define USEABLE_HARDWARE_PWM(p) true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define READ(IO) digitalRead(IO)
|
|
|
|
#define READ(IO) digitalRead(IO)
|
|
|
|
#define WRITE(IO,V) digitalWrite(IO,V)
|
|
|
|
#define WRITE(IO,V) digitalWrite(IO,V)
|
|
|
|
#define WRITE_VAR(IO,V) WRITE(IO,V)
|
|
|
|
#define WRITE_VAR(IO,V) WRITE(IO,V)
|
|
|
@ -55,6 +53,12 @@
|
|
|
|
#define GET_OUTPUT(IO)
|
|
|
|
#define GET_OUTPUT(IO)
|
|
|
|
#define GET_TIMER(IO)
|
|
|
|
#define GET_TIMER(IO)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define PWM_PIN(p) digitalPinHasPWM(p)
|
|
|
|
|
|
|
|
#define USEABLE_HARDWARE_PWM(p) PWM_PIN(p)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// Pins Definitions
|
|
|
|
|
|
|
|
//
|
|
|
|
#define PORTA 0
|
|
|
|
#define PORTA 0
|
|
|
|
#define PORTB 1
|
|
|
|
#define PORTB 1
|
|
|
|
#define PORTC 2
|
|
|
|
#define PORTC 2
|
|
|
|