
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
Hallo, also um das mal jetzt zu verstehen. Du willst ein Programm schreiben. Dieses Programm soll bei Drücken einer Taste wie die am PORT 5 o.ä. einen Wert von (einem Sensor an einem Analogport?) in eine Speicherstelle schrieben, ja? DEFINE Taste5 AS PORT[5] DEFINE Speicherstelle1 AS BYTE DEFINE Speicherstelle2 AS BYTE DO IF Taste5 = TRUE THEN Speicherstelle = AD[1] END IF IF Taste6 = TRUE THEN Speicherstelle2 = AD[2] END IF ' u.s.w. LOOP Ist es das was du machen willst? Gruß, Stefan Meine Homepage: http://www.fdos.de |
| Antwort schreiben |