Search found 8 matches

by gliga69
Tue Nov 05, 2013 11:31 pm
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

Re: How to use 2.56 internal reference with attiny861

Can somebody help, please? What did i do wrong?
Peter
by gliga69
Tue Oct 22, 2013 9:27 am
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

Re: How to use 2.56 internal reference with attiny861

well, it did not work in the uc. do i have to some additional thing? should i set something at theadditional properties? If i set the additional code, my program runs, but something is not good at the adc configuration. I try to read a byte from adc an if that byte is less than 128 one led lights. I...
by gliga69
Mon Oct 21, 2013 10:31 pm
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

Re: How to use 2.56 internal reference with attiny861

And of course a BIG thanks for Benj for the solution :)
by gliga69
Mon Oct 21, 2013 10:27 pm
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

Re: How to use 2.56 internal reference with attiny861

Thank you kersing for the syntax correction, it seems it works. The compiler can finish the work without errors.
Tomorrow i will try it with the uc and write the result.
by gliga69
Mon Oct 21, 2013 8:47 pm
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

Re: How to use 2.56 internal reference with attiny861

Hi! I have do the changes and i got an error message whilecompiling In file included from C:\Program Files\Flowcode(AVR)\v5\CAL\includes.c:47, from C:\BALANC~1\Drill.c:1462: C:\Program Files\Flowcode(AVR)\v5\CAL\/AVR\AVR_CAL_ADC.c:199: error: expected identifier or '(' before 'volatile' C:\Program F...
by gliga69
Mon Oct 21, 2013 12:03 pm
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

Re: How to use 2.56 internal reference with attiny861

yes, i'd already try to add "ADMUX=0x80; ADCSRB=0x10;" as c code, but it was not work. When i write the program to the uc it only uses the suppy voltage or the extref pins as reference, as i set it in the extension properties, my c code is not matters at all. Should i modify the "AVR_...
by gliga69
Sun Oct 20, 2013 5:27 pm
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

Re: How to use 2.56 internal reference with attiny861

No one?
Please help me, i need the info for project to my university. We have registred flowcode5 avr in the lab if it matters.
Peter
by gliga69
Sat Oct 19, 2013 3:24 pm
Forum: Flowcode V5 Free Edition
Topic: How to use 2.56 internal reference with attiny861
Replies: 11
Views: 8893

How to use 2.56 internal reference with attiny861

Please help me to use the 2.56 internal reference with attiny861
There is no option in extension propertise (can only set vref+ and vdd)
i have try to use a c code : "ADMUX=0x80; ADCSRB=0x10;"
Peter