Das Open-Control-Projekt - Die Alternative zur C-Control-I


Das Forum zur C-Control-1
Welche C-Control-Varianten existieren?
Übersicht - Suchen - Neueste 50 Beiträge - Neuer Beitrag - Login - Registrieren
INFO - FAQ - CC2-Forum - CCPro-Forum 

 Re: Frequenzmessung richtig programmiert Kategorie: Programmierung Basic (von Kay - 27.06.2006 6:08)
 Als Antwort auf Frequenzmessung richtig programmiert von Thomas - 27.06.2006 5:51
Kay nutzt:  CC1-Unit V1.1, CC1-Station V1.1
>
> define z ad[8]

genau DAS ist das probblem!!!
FREQ2 ist bereits eine definierte systemfunktion zur abfrage
des zählers.
wenn du z aber als AD-wandler-port definierst, dann
frag der CControl z beim aufruf von PRINT ab.
DAS kann also gleich mal raus.

> z=freq2
>
> print z
> if z>13 then goto label107

 Antwort schreiben

Bisherige Antworten:

Re: Frequenzmessung richtig programmiert (von Thomas - 27.06.2006 6:14)
    Re: Frequenzmessung richtig programmiert (von Kay - 27.06.2006 15:57)
        Re: Frequenzmessung richtig programmiert (von Thomas - 27.06.2006 18:54)
            Re: Frequenzmessung richtig programmiert (von Kay - 28.06.2006 18:36)