Ok that works but I think it's a pulse width signal. Just looping it works however there is a issue when I want to let the signal through and then wait (pause or pauseus) and then let a signal from another pin through. It will go crazy.
I tried to read the signal as if it was a pulse but it didn't work right. Example of how I wrote the code is below.
pulse var word
pulsin 3,1,pulse
main:
if gpio.5 = 1 then
pulsout 0,pulse
endif
goto main
This does not work. Could it be the pulse width is too big for a 4mhz osc? I defined it to 8 and still had the issue.




Bookmarks