romanvolovoy
27-10-2015, 10:26
Hello! I have been playing around with the software and sensor setup and was not able get legacy sensors to work!
I defined legacy touch sensor as TouchSensor and the phone was able to find the sensor, but it would always return true in isPressed() function. It would always return false if I unplug the sensor.
Same story with the ultrasonic sensor... Values for distance fluctuate from 0 to 255 and only at times show right values.
I almost gave up on trying to get this sensors to work... If I am doing something wrong, please let me know!
Thanks!!
I defined legacy touch sensor as TouchSensor and the phone was able to find the sensor, but it would always return true in isPressed() function. It would always return false if I unplug the sensor.
Same story with the ultrasonic sensor... Values for distance fluctuate from 0 to 255 and only at times show right values.
I almost gave up on trying to get this sensors to work... If I am doing something wrong, please let me know!
Thanks!!