Artan Huta

PE ADC code example

Discussion created by Artan Huta on Nov 10, 2006
Latest reply on Nov 21, 2006 by Brian Witzen

I am trying to use the processor expert to build a 4 channel ADC function. I have set up everything correctly in the ATD bean. The place where i am stuck is writing code to measure and get the values and where to insert them into the generated files of the PE. I have no idea how to write in C or assembly language and I was hoping to build this function easily using PE. Anyone has any suggestion? I was told there are only a few lines of codes that need to be added. Thanks,