Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum

Re: ADC in Free Running Mode Kategorie: Programmierung C (von PepeV - 11.02.2013 18:29)
Als Antwort auf Re: ADC in Free Running Mode von PepeV - 9.02.2013 14:57
Ich nutze:
C-Control Pro Mega128, Pro-Bot128
> >  Hello Pepe,
> >
> >  maybe the version below is still interesting for you.
> >
> >  GruÃ? Torsten
>
> Hi Torsten,
>
> Thanks, I will look at it later.
> Here is an improved version of my ADCapture2fl.asm. The previous version
> has a serious bug. If an ADC value is zero, it will hang. That case is dealt
> with now and also the code is optimized so less instructions are needed.
>
> Maybe we should start a new thread in the category Programmierung
> Assembler. 'FFT for the Atmega128'?
>
> Regards,
> Pepe

Hi Torsten,

Your version of the conversion of integer to float is better, more compact and
elegant. Thanks! I learned a lot from it and was able to combine it with my
version to obtain an even more compact code. See attachment.

Regards,
Pepe
ADCapture2fl03.zip




    Antwort schreiben


Antworten:

Re: ADC in Free Running Mode (von Torsten - 11.02.2013 21:07)
    Re: ADC in Free Running Mode (von PepeV - 12.02.2013 19:54)