Hallo zusammen

hab ein kleines Problem mit dem Porta. meines RN-Controls. Bei diesem Programm zum Beispiel:


Code:
$regfile = "m32def.dat"
$crystal = 16000000
$baud = 9600

config Porta.0 = Input
config Portc.0 = Input

do

If Pina.0 = 1 Then
Pinc.0 = 0
End If

loop
leuchtet die LED dauernd, sowohl wenn ich Spannung an PA0 anlege als auch wenn gar nichts dranhängt. Weiss jemand weiter? Mikrocontroller austauschen?

Gruss flo