Nabend,
Ich habe mal wider ein kleines Problem.
Schaltplan:
[Blockierte Grafik: http://www.img-load.de/thumb_15198_uxs.gif]
Ich wollte nun die LED am pd4 port blinken lassen jewals 1sec an und dann wider aus.
Code
$regfile = "m16def.dat" 'Die Anweisung bestimmt Controllertyp, hier AVR Mega 32
$crystal = 16000000 'interner quarz
Config Pind.4 = Output 'Ein Pin wird als Ausgang konfiguriert Pd4
do
Portd.4 = 1 'Pin wird auf High, also 5V geschaltet
Waitms 100
Portd.4 = 0 'Pin wird auf Low, also 0V geschaltet
Waitms 100
loop
End
Alles anzeigen