View Single Post
  #75  
Old 09-25-2014, 12:13 PM
red-ray red-ray is offline
Banned
red-ray's PC Specs
 
Join Date: May 2014
Location: England (GMT+1)
Posts: 7,152
POST ID # = 730209
red-ray Reputation: 81
Default Lighting Node Registers

I have thus far found the following registers,

// Device ID 0x39 Lighting Node Registers by deduction

#define CNR_BUTTON_1 0x04 // R 1 byte Button 1 State // Range 1 -> 7
#define CNR_BUTTON_2 0x05 // R 1 byte Button 2 State //

#define CNR_LIGHTS_1 0x20 // RW 3 bytes Lights 1 RGB // Changed by buttons
#define CNR_LIGHTS_1_R 0x20 // RW 1 byte Lights 1 R // and writable.
#define CNR_LIGHTS_1_G 0x21 // RW 1 byte Lights 1 G // When written button
#define CNR_LIGHTS_1_B 0x22 // RW 1 byte Lights 1 B // goes to zero.

#define CNR_LIGHTS_2 0x40 // RW 3 bytes Lights 2 RGB //
#define CNR_LIGHTS_2_R 0x40 // RW 1 byte Lights 2 R //
#define CNR_LIGHTS_2_G 0x41 // RW 1 byte Lights 2 G //
#define CNR_LIGHTS_2_B 0x42 // RW 1 byte Lights 2 B //
Reply With Quote