Difference between revisions of "Firmware-733 Function-078"

From I-CubeX Wiki
Jump to: navigation, search
(Copied from Firmware-73 Function-078, revision 1206)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==SEERGB (78, 4Eh)==
 
==SEERGB (78, 4Eh)==
  
The SeeRGB function enables control of the SeeRGB actuator in both host and stand-alone mode. There are the following methods to select, using the FUNCTION command’s method/parameter FP:
+
The SeeRGB function enables control of the SeeRGB actuator in both host and stand-alone mode. There are the following methods to select, using the [[Firmware-73_Command-008 |FUNCTION]] command’s method/parameter FP:
  
 
<u>SeeRGB v1.0</u>
 
<u>SeeRGB v1.0</u>
Line 14: Line 14:
 
|end current actuator effect sequence immediately
 
|end current actuator effect sequence immediately
 
|-
 
|-
|1
+
|1..100
 +
|HSB color
 +
|set to a color, where FP 1..100 is used to set the hue
 +
|-
 +
|101
 
|default startup eeprom script; can be reprogrammed
 
|default startup eeprom script; can be reprogrammed
 
|white→red→green→blue→off
 
|white→red→green→blue→off
 
|-
 
|-
|2
+
|102
 
|RGB
 
|RGB
 
|red→green→blue  
 
|red→green→blue  
 
|-
 
|-
|3
+
|103
 
|white flash  
 
|white flash  
 
|white→off
 
|white→off
 
|-
 
|-
|4
+
|104
 
|red flash  
 
|red flash  
 
|red→off
 
|red→off
 
|-
 
|-
|5
+
|105
 
|green flash  
 
|green flash  
 
|green→off
 
|green→off
 
|-
 
|-
|6
+
|106
 
|blue flash  
 
|blue flash  
 
|blue→off
 
|blue→off
 
|-
 
|-
|7
+
|107
 
|cyan flash  
 
|cyan flash  
 
|cyan→off
 
|cyan→off
 
|-
 
|-
|8
+
|108
 
|magenta flash  
 
|magenta flash  
 
|magenta→off
 
|magenta→off
 
|-
 
|-
|9
+
|109
 
|yellow flash  
 
|yellow flash  
 
|yellow→off
 
|yellow→off
 
|-
 
|-
|10
+
|110
 
|black  
 
|black  
 
|off
 
|off
 
|-
 
|-
|11
+
|111
 
|hue cycle  
 
|hue cycle  
 
|red→yellow→green→cyan→blue→purple
 
|red→yellow→green→cyan→blue→purple
 
|-
 
|-
|12
+
|112
 
|mood light  
 
|mood light  
 
|random hue→random hue  
 
|random hue→random hue  
 
|-
 
|-
|13
+
|113
 
|virtual candle  
 
|virtual candle  
 
|random yellows
 
|random yellows
 
|-
 
|-
|14
+
|114
 
|water reflections  
 
|water reflections  
 
|random blues  
 
|random blues  
 
|-
 
|-
|15
+
|115
 
|old neon  
 
|old neon  
 
|random orangeish reds  
 
|random orangeish reds  
 
|-
 
|-
|16
+
|116
 
|the seasons  
 
|the seasons  
 
|spring colors→summer→fall→winter  
 
|spring colors→summer→fall→winter  
 
|-
 
|-
|17
+
|117
 
|thunderstorm  
 
|thunderstorm  
 
|random blues & purples→white flashes  
 
|random blues & purples→white flashes  
 
|-
 
|-
|18
+
|118
 
|stop light  
 
|stop light  
 
|red→green→yellow
 
|red→green→yellow
 
|-
 
|-
|19
+
|119
 
|morse code  
 
|morse code  
 
|S.O.S in white  
 
|S.O.S in white  
 +
|-
 +
|120..123
 +
|random HSB color
 +
|switch to a random HSB color, where a higher FP value corresponds to a larger random change each time the command is executed
 +
|-
 +
|124..127
 +
|random HSB color fade
 +
|fade slowly to random HSB color, where a higher FP value corresponds to a larger random change each time the command is executed
 
|-
 
|-
 
|}
 
|}
Line 94: Line 106:
 
Example:
 
Example:
  
In order to use the SeeRGB function to have a SeeRGB actuator with I2C device address 9 (default SeeRGB I2C device address) connected to the 7th I2C port execute method 12 (mood light actuator effect), the following message is sent:
+
In order to use the SeeRGB function to have a SeeRGB actuator with I2C device address 9 (default SeeRGB I2C device address) connected to the 7th I2C port execute method 112 (mood light actuator effect), the following message is sent:
  
:240, 125, 0 {DEV}, 8 {FUNCTION}, 6 {yyy = 6}, 9 {device address}, 78 {SeeRGB function}, 12 {actuator method}, 247 (F0h, 7Dh, 00h, 08h, 06h, 09h, 4Eh, 0Ch, F7h)
+
:240, 125, 0 {DEV}, 8 {FUNCTION}, 6 {yyy = 6}, 9 {device address}, 78 {SeeRGB function}, 112 {actuator method}, 247 (F0h, 7Dh, 00h, 08h, 06h, 09h, 4Eh, 0Ch, F7h)
 
 
 
Other settings of the SeeRGB actuator can be effectuated by using I2C commands such as I2C WRITE and I2C READ. See also the datasheet linked from the [http://icubex.com/seergb SeeRGB] web page.
 
Other settings of the SeeRGB actuator can be effectuated by using I2C commands such as I2C WRITE and I2C READ. See also the datasheet linked from the [http://icubex.com/seergb SeeRGB] web page.

Latest revision as of 04:18, 11 January 2018

SEERGB (78, 4Eh)

The SeeRGB function enables control of the SeeRGB actuator in both host and stand-alone mode. There are the following methods to select, using the FUNCTION command’s method/parameter FP:

SeeRGB v1.0

FP Actuator effect name Actuator effect sequence
0 terminate end current actuator effect sequence immediately
1..100 HSB color set to a color, where FP 1..100 is used to set the hue
101 default startup eeprom script; can be reprogrammed white→red→green→blue→off
102 RGB red→green→blue
103 white flash white→off
104 red flash red→off
105 green flash green→off
106 blue flash blue→off
107 cyan flash cyan→off
108 magenta flash magenta→off
109 yellow flash yellow→off
110 black off
111 hue cycle red→yellow→green→cyan→blue→purple
112 mood light random hue→random hue
113 virtual candle random yellows
114 water reflections random blues
115 old neon random orangeish reds
116 the seasons spring colors→summer→fall→winter
117 thunderstorm random blues & purples→white flashes
118 stop light red→green→yellow
119 morse code S.O.S in white
120..123 random HSB color switch to a random HSB color, where a higher FP value corresponds to a larger random change each time the command is executed
124..127 random HSB color fade fade slowly to random HSB color, where a higher FP value corresponds to a larger random change each time the command is executed

Example:

In order to use the SeeRGB function to have a SeeRGB actuator with I2C device address 9 (default SeeRGB I2C device address) connected to the 7th I2C port execute method 112 (mood light actuator effect), the following message is sent:

240, 125, 0 {DEV}, 8 {FUNCTION}, 6 {yyy = 6}, 9 {device address}, 78 {SeeRGB function}, 112 {actuator method}, 247 (F0h, 7Dh, 00h, 08h, 06h, 09h, 4Eh, 0Ch, F7h)

Other settings of the SeeRGB actuator can be effectuated by using I2C commands such as I2C WRITE and I2C READ. See also the datasheet linked from the SeeRGB web page.