377Views3Replies

Author Options:

how do i use the ADC present within the ATtiny 861v microcontroller? Answered

i want to convert a input analog signal to a Attiny 861V microcontroller using the built in ADC and then use the digital data to be compared to some prespecified value. Im using AVR studio and ISP mkII programmer. What is the C code i should use to do this

Tags:AVR

3 Replies

user
steveastrouk (author)2011-05-26

Some of the serious Arduino experts seem to have done porting work to retarget the ATTiny series. Take a look there.

Steve

Select as Best AnswerUndo Best Answer

user
sve (author)steveastrouk2011-05-26

please if you dont mind suggest me some links i have been searching for this since 2 days but couldnt get plz help me

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)sve2011-05-26

Not being specifically familiar with the AVR toolchain, I'd suggest you look for example code on Atmels site, and use the code wizard to get you a basis on which to start.

Take a look at the tutorials http://www.atmel.com/microsite/avr_studio_5/default.asp

Steve

Select as Best AnswerUndo Best Answer