I (foolishly after reading your reference on analog inputs) chose a pin that is only connected to ADC1. (PC3/AIN9 on ADC1). I appreciate the fact that you did allow for the use of these pins.
I am able to use AnalogRead1(PIN_PC3) without issue. I wanted to use 10 bit resolution, but when I use AnalogReadEnh1(PIN_PC3) or AnalogReadEnh1(PIN_PC3,10) or AnalogReadEnh1(PIN_PC3,10, 0) I get the following compiler error:
[...]\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\2.6.12\cores\megatinycore\wiring_analog.c:58:11: error: call to 'badArg' declared with attribute error:
badArg("analogRead called with constant pin that is not a valid analog pin");
I (foolishly after reading your reference on analog inputs) chose a pin that is only connected to ADC1. (PC3/AIN9 on ADC1). I appreciate the fact that you did allow for the use of these pins.
I am able to use AnalogRead1(PIN_PC3) without issue. I wanted to use 10 bit resolution, but when I use AnalogReadEnh1(PIN_PC3) or AnalogReadEnh1(PIN_PC3,10) or AnalogReadEnh1(PIN_PC3,10, 0) I get the following compiler error:
[...]\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\2.6.12\cores\megatinycore\wiring_analog.c:58:11: error: call to 'badArg' declared with attribute error:
badArg("analogRead called with constant pin that is not a valid analog pin");