todo: analogInputToDigitalPin(p) digitalPinHasPWM(p)teensy4-core
extern "C" { | extern "C" { | ||||
#endif | #endif | ||||
//TODO: | |||||
//#define analogInputToDigitalPin(p) | |||||
//#define digitalPinHasPWM(p) | |||||
#define digitalPinToInterrupt(p) ((p) < NUM_DIGITAL_PINS ? (p) : -1) | |||||
void digitalWrite(uint8_t pin, uint8_t val); | void digitalWrite(uint8_t pin, uint8_t val); | ||||
static inline void digitalWriteFast(uint8_t pin, uint8_t val) __attribute__((always_inline, unused)); | static inline void digitalWriteFast(uint8_t pin, uint8_t val) __attribute__((always_inline, unused)); |