Wink Sensors

Wink Sensors

Methods


readsensor(dropdown_light)

Parameters:
Name Type Description
dropdown_light

determines which light sensor to read values from

Code Equivalent:

  analogRead(dropdown_light);

setirlight(dropdown_light, dropdown_state)

Parameters:
Name Type Description
dropdown_light

determines which light sensor to turn on/off

dropdown_state

determines if the sensor is being turned on or off

Code Equivalent:

  digitalWrite(dropdown_light, dropdown_state);