no an1 pin on attiny84
Moderator: Benj
-
- Posts: 26
- Joined: Tue May 23, 2017 1:55 am
- Been thanked: 1 time
- Contact:
no an1 pin on attiny84
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
-
- Posts: 26
- Joined: Tue May 23, 2017 1:55 am
- Been thanked: 1 time
- Contact:
-
- Posts: 26
- Joined: Tue May 23, 2017 1:55 am
- Been thanked: 1 time
- Contact:
Re: no an1 pin on attiny84
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
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
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel