Make sure _Ex_PINS is defined
Also fix analogInputToDigitalPin so it uses proper C hex notation
This commit is contained in:
parent
80be6f3f91
commit
ae4b348d77
3 changed files with 108 additions and 7 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
// Arduino < 1.0.0 does not define this, so we need to do it ourselves
|
||||
#ifndef analogInputToDigitalPin
|
||||
# define analogInputToDigitalPin(p) ((p) + A0)
|
||||
# define analogInputToDigitalPin(p) ((p) + 0xA0)
|
||||
#endif
|
||||
|
||||
#ifdef AT90USB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue