So I tried driving it with two pins but something else is screwy now....
This is what I have:
It seems that "high 2" does not actually switch the pin high, but just ticks it high for a split second. "high 1" switches the pin high and it is held high for 5 seconds until it is switched low...Code:OUTPUT Pin1 output Pin2 Startup: for startupalarm = 1 to 4 high 2 high 1 pause 5000 low 2 low 1 pause 5000 next startupalarm
This is the same regardless of which pins I use. The line of code immediately preceding the pause command works, all others do not. Nothing else is connected to the chip, it's all by itself on a breadboard.............




Bookmarks