Skip to content

Fix RGB TCS34725

35

The Fix RGB TCS34725 node is a specialized hardware-calibration tool designed for the TCS34725 color sensor. It processes raw sensor data (Red, Green, Blue, and Clear channels) into a standardized RGB color object that ERGS can use for logic and lighting.

When to use this node: * Color Matching Puzzles: When using a physical color sensor to detect which object a player has placed on a pedestal. * Sensor Normalization: Using the ClearMax and InputMax properties to filter out ambient light noise and ensure consistent color detection regardless of the room's lighting.

Pro Tip: Always calibrate the InputMax based on the brightest expected reading to ensure the sensor outputs the full range of colors accurately.

Connectors in

  • R [type: string]
  • G [type: string]
  • B [type: string]
  • Clear [type: string]

Connectors out

  • RGB [type: rgb]

Node properties

  • ClearMax [type: integer]
  • InputMax [type: integer]