Try putting an Identity gate in between the cpu and the wire wheel.
Using the SVN as of 04/17
I can power a wheel by using a button to the "go" input just fine.. But connecting a CPU port to the GO fails to work. The screen attached to the same port indicates a value of "1" yet the wheel refuses to turn. Disconnecting it, and re-connecting to a button works fine..
Note, ports are connected using the DATA addition for the high speed IO.
I can power other things, such as hydraulics just fine, but not the wheel.
Any solutions?
Second, I would like to set an output in the cpu to 1 for a split second, likely .25s I can't seem to find reference on how to operate the built in TIMER.
Thanks![]()
Try putting an Identity gate in between the cpu and the wire wheel.
"Our death ray doesn't seem to be working. I'm standing right in it, and I'm not dead yet." - Jamie Hyneman
"Yes, managing the anonymous activity of the entire Internet is a challenge. Shoving the entire universe into a mason jar for use as a personal flashlight would also be a pesky bother." - Karl, BBR
WIREMOD WILL NOT WORK ON YOUR FACE! BUT IT DOES ON YOUR MOM :shifty:
TIMER returns number of seconds passed from start of execution/last RESET. Or maybe not, but it will return valid time.
Would it be possible to move the timers value to a variable and then add 25 to that variable then move to a loop that compares the timer with the new variable. Say that the CPU had been on for 10 seconds you would mov that 10 to eax then add 25 to 10 = 35 then run a loop that compares current timer with 35 until it is greater or equal. Then do something.
This might work. It doesn't do anything but it should stay in that loop for 25 seconds then move back to gettime.
Code:gettime: Timer eax add eax,25 jmp compare compare: timer ebx cmp ebx,eax jg gettime jmp compare
Yeah, but internal timer can't be reset. So you gotta store start time somewhere, if you want to measure and have chance to reset.
I would've thought that the second line
TIMER eax
would store the current time of the internal timer. So it wouldnt be effected by the time not being reset. Also this would have to be called every time a loop has been executed because EAX would be out of date.
Bookmarks