Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - FAQ - Zum CC1-Forum - Zum CC-Pro-Forum

programme is to sluggish Kategorie: Progr. Assembler, TaskingTools, OS (von Bram - 7.05.2006 20:05)
Ich nutze:
C-Control II Station, original OS
Hallo folks,

Is there anybody in the (Control II Station) world that can solve my problem.

//========================================================================
   if ports.getcount(0) // pulse rotating encoder A in (1 pulse 360 grd.)
   i = 0;
   if ports.getcount(1) // pulse rotating encoder A in speed 1,5 kHz (300 rpm:  200 pulse per 360 grd.)
   {
   i = i + 1;
   m[i] = ports.adc(0); // is this my time problem:  m[i] or the adc? it works but till to  +/-  50 rpm.
   }
//=========================================================================

Hope to hear something,

Groeten uit Holland.

Bram


    Antwort schreiben


Antworten:

Re: programme is to sluggish (von André H. - 7.05.2006 21:16)