User Tools

Site Tools


wiki:computronics:colorful_lamp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:computronics:colorful_lamp [2015/06/25 11:59] (current)
Line 1: Line 1:
 +====== Colorful Lamp ======
 +The Colorful Lamp is a special light block that can change its color to one of 32,768 possibilities,​ either with a computer or by direct bundled cable control.
 +===== Recipe =====
  
 +{{ :​wiki:​computronics:​colorfullamp_recipe.png |}}
 +===== Computer API =====
 +
 +  The least significant 5 bits are RED, the next 5 bits are GREEN, the final 5 bits are BLUE.
 +  ​
 +  * getLampColor() - returns the current color, from 0 to 32767
 +  * setLampColor(color) - sets the color.
 +
 +===== RedLogic/​Project:​ Red/MFR API =====
 +
 +Use a RedNet cable or a bundled cable to change the lamp color.
wiki/computronics/colorful_lamp.txt ยท Last modified: 2015/06/25 11:59 (external edit)