Re: My car
Posted: 19 Oct 2010, 18:25
Sorry, I forgot to answer this part.fuzzball27 wrote:...If it didn't there wouldn't even be a raw value option in NXT-G for the touch sensor. thats impractical...
Why not? The touch sensor block can be used for many other sensors. The block is simply a block that gives you access to the analog values of the port's analog pin. Normally people might just use the boolean value, but there is no reason to not use the RAW value. The reason that it is there, is that the code that the block represents, has access to the RAW value, so why not make that user accessible?