mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-02 13:24:12 +01:00
Making NUM_ANALOG_IN_PINS conditional on the microcontroller so analog inputs 6 and 7 work on the ATmega168.
This commit is contained in:
parent
221b6348fe
commit
adc02386ec
@ -50,7 +50,12 @@
|
||||
|
||||
#define NUM_DIGITAL_PINS 14
|
||||
#define NUM_ANALOG_OUT_PINS 11
|
||||
#if defined(__AVR_ATmega168__)
|
||||
#define NUM_ANALOG_IN_PINS 8
|
||||
#else
|
||||
#define NUM_ANALOG_IN_PINS 6
|
||||
#endif
|
||||
|
||||
#define NUM_PORTS 4
|
||||
|
||||
#define PB 2
|
||||
|
Loading…
Reference in New Issue
Block a user