| | Re: SENSOR_READ doesn't return 0
|
| Actually, whils I am re-coding things, is there any reason why you didn't do DELAY like this? : DELAY ( 100msec timer -- ) 0 OVER TIMER_SET SWAP ( timer ticks ) BEGIN OVER TIMER_GET OVER > ( timer ticks time>ticks ) UNTIL 2DROP ; I have produced an (...) (26 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
| | | | RE: SENSOR_READ doesn't return 0
|
| (...) There are indeed many ways to skin a cat...in the end , the effect is the same, but I'm always curious to see how others do things. How many FORTH programmers does it take to screw in a light bulb? Just one, but he has to be the fellow that (...) (26 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
| |