colorSensor

fun colorSensor(name: String): Lazy<NormalizedColorSensor>

Helper function to create a NormalizedColorSensor property delegate.

Return

a Lazy that gets the NormalizedColorSensor from the hardware map

Parameters

name

the name of the NormalizedColorSensor