Page 1 of 1

no an1 pin on attiny84

Posted: Sun Jul 02, 2017 7:38 pm
by chrisbooth1957
hi i added 8 analogu sliders using the attiny84 expecting to be able to connect them to the 8 inputs but an1 is not offered as a pin on the drop down menue , strangly i can use that pin for i2c

Re: no an1 pin on attiny84

Posted: Sun Jul 02, 2017 8:29 pm
by chrisbooth1957
attiny861 appears to have an4 missing too

Re: no an1 pin on attiny84

Posted: Sun Jul 02, 2017 8:54 pm
by chrisbooth1957
hi i dont want to play with things but i noticed this in the attiny84.fcdx file

bit='2' />
<pin name='(PCINT7/ICP/OC0B/ADC7) PA7' port='0' bit='7' adc='7' />
<pin name='(PCINT6/OC1A/SDA/MOSI/ADC6) PA6' port='0' bit='6' adc='6' />
<pin name='PA5 (ADC5/DO/MISO/OC1B/PCINT5)' port='0' bit='5' adc='5' />
<pin name='PA4 (ADC4/USCK/SCL/T1/PCINT4)' port='0' bit='4' adc='4' />
<pin name='PA3 (ADC3/T0/PCINT3)' port='0' bit='3' adc='3' />
<pin name='PA2 (ADC2/AIN1/PCINT2)' port='0' bit='2' adc='2' />
<pin name='PA1 (ADC1/AIN0/PCINT1)' port='0' bit='1' adc='0' />
<pin name='PA0 (ADC0/AREF/PCINT0)' port='0' bit='0' />
<pin name='GND' />
</pins>

it looks to me like "<pin name='PA1 (ADC1/AIN0/PCINT1)' port='0' bit='1' adc='0' />" is not correct should the 0 be a 1

Re: no an1 pin on attiny84

Posted: Mon Jul 03, 2017 10:19 am
by Benj
Hi Chris,

Thanks for letting us know about the issues. I have now hopefully fixed the files for you.

Simply extract the attached files into your "Flowcode 7/FCD/AVR" folder and restart Flowcode and the missing ADC channels should then be there as expected.
AVR.zip
(14.72 KiB) Downloaded 349 times