Class UltrasonicComm
In: lib/sensors/ultrasonic_comm.rb
Parent: Object

Low-level interface for communicating with the NXT’s Ultrasonic sensor. Unlike the other sensors, the Ultrasonic sensor is digital and uses the low-speed I2C protocol for communication. This is defined in Appendix 7 of the Lego Mindstorms NXT SDK.

Methods

Public Class methods

[Validate]