|
@@ -100,7 +100,10 @@ bool useable_hardware_PWM(pin_t pin);
|
100
|
100
|
// hg42: instead use PWM bit from the #define
|
101
|
101
|
|
102
|
102
|
/// check if pin is an timer
|
103
|
|
-#define _GET_TIMER(IO) LPC1768_PIN_PWM(IO)
|
|
103
|
+#define _GET_TIMER(IO) TRUE // could be LPC1768_PIN_PWM(IO), but there
|
|
104
|
+// hg42: could be this:
|
|
105
|
+// #define _GET_TIMER(IO) LPC1768_PIN_PWM(IO)
|
|
106
|
+// but this is an incomplete check (12 pins are PWMable, but only 6 can be used at the same time)
|
104
|
107
|
|
105
|
108
|
/// Read a pin wrapper
|
106
|
109
|
#define READ(IO) _READ(IO)
|