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: im hintergrund für Kay Kategorie: Programmierung Basic (von Christoph berninger - 19.07.2005 21:02)
 Als Antwort auf im hintergrund und funktionert immer von Christoph berninger - 19.07.2005 20:57
Christoph berninger nutzt:  CC1-Unit V1.1, Micro

define p1 port [1]
define p2 port [2]
define w2 word [6]
define b2 byte [3]

#s
if not p1 then p2 = on:if w2 <> timer then b2 = b2 + 1
w2 = timer:if b2 = 100 then p2 = off:if not p2 then b2 = 0
goto s

Smart part, nun was ist fasch hieran Fux

gruß bourunger

 Antwort schreiben

Bisherige Antworten: