no an1 pin on attiny84

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
chrisbooth1957
Posts: 26
Joined: Tue May 23, 2017 1:55 am
Been thanked: 1 time
Contact:

no an1 pin on attiny84

Post 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

chrisbooth1957
Posts: 26
Joined: Tue May 23, 2017 1:55 am
Been thanked: 1 time
Contact:

Re: no an1 pin on attiny84

Post by chrisbooth1957 »

attiny861 appears to have an4 missing too

chrisbooth1957
Posts: 26
Joined: Tue May 23, 2017 1:55 am
Been thanked: 1 time
Contact:

Re: no an1 pin on attiny84

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: no an1 pin on attiny84

Post 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 241 times

Post Reply