INFO - FAQ - CC2-Forum - CCPro-Forum |
|
Hallo! Bin wohl wieder mal bissel blind, denn ich bringe folgenden Code nicht zum laufen: define bport byteport[1] define ctr byte[1] bport = &h00 ctr = &h01 #loop bport = ctr ctr = sux shl 1 if ctr = &h40 then ctr = &h01 pause 20 goto loop Beschaltung sieht einen 10k Pullup an Port 3 und je eine Led mit 270Ohm Vorwiderstand gegen Masse pro Port vor, wobei diejenige an P3 erst nach Anlegen der Betriebsspannung kontaktiert wird. Praktischer Nutzen: Keiner. Theoretischer Nutzen: Demonstration von SHL. Danke im Voraus für eure Hilfe! -Tom Bin derzeit in der Klinik, daher kann es mit den Antworten länger dauern. There's nothing so inventive as a fool tampering with a foolproof appliance |
Antwort schreiben |