瀏覽代碼
add #define digitalPinToInterrupt(p)
todo:
analogInputToDigitalPin(p)
digitalPinHasPWM(p)
main
Frank
5 年之前
No account linked to committer's email address
共有
1 個文件被更改,包括
4 次插入 和
0 次删除
-
teensy4/core_pins.h
|
|
@@ -1108,6 +1108,10 @@ |
|
|
|
extern "C" { |
|
|
|
#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); |
|
|
|
static inline void digitalWriteFast(uint8_t pin, uint8_t val) __attribute__((always_inline, unused)); |