User Tools

Site Tools


wiki:computronics:lamp_block
no way to compare when less than two revisions

Differences

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


wiki:computronics:lamp_block [2015/06/25 15:59] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Lamp Block ======
  
 +===== API =====
 +
 +==== ComputerCraft/OpenComputers ====
 +
 +^ Command ^ Description ^ Usage ^
 +| getLampColour() | Gets the lamp's RGB colour. | Returns 0x000000-0xFFFFFF. |
 +| getLampType() | Gets the lamp's type. | Returns "Normal", "Decorative" or "Indicator". |
 +| isLampPowered() | Checks if the lamp is being powered. | Returns a boolean. |
wiki/computronics/lamp_block.txt · Last modified: 2015/06/25 15:59 by 127.0.0.1