What am I doing wrong?
Spork Frog
Posts: 212
My code is as follows:
I'm trying to toggle an LED on pin 0, the debug LED on the Hydra. But, it's not working, for some reason. Can anyone show me what I'm doing wrong?
CON _xinfreq = 10_000_000 _clkmode = xtal1 + pll8x PUB Main cognew(@entry, 0) DAT entry org 0 mov dira, #1 mov time, cnt :loop waitcnt time, delay xor outa, #1 jmp #:loop time res 1 delay long 40_000_000
I'm trying to toggle an LED on pin 0, the debug LED on the Hydra. But, it's not working, for some reason. Can anyone show me what I'm doing wrong?
Comments
Its one of those things.
Graham
-Phil
Chip Gracey
Parallax, Inc.
Thanks for the help