Firmware-73 Function-079

From I-CubeX Wiki
Revision as of 21:07, 21 November 2016 by Admin (talk | contribs) (Created page with "==FEELVIBE (79, 4Fh)== The FeelVibe function enables control of the FeelVibe actuator in both host and stand-alone mode. There are the following methods to select, using the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

FEELVIBE (79, 4Fh)

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

FeelVibe v1.0

FP Data output in host mode Data output in stand-alone mode
0..127 Temperature [0..65536]; an unsigned 16-bit value, representing degrees Celsius, sent as two 8-bit bytes (MSB, LSB) Temperature [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, where 0 represents 0 degrees Celsius and 127 or 16383 represents 100 degrees Celsius, sent as one or two 8-bit bytes (LSB, MSB)

Example:

In order to use the FeelVibe function to have a FeelVibe actuator with I2C device address 90 (default FeelVibe I2C device address) connected to the 7th I2C port execute method 12, the following message is sent:

240, 125, 0 {DEV}, 8 {FUNCTION}, 6 {yyy = 6}, 90 {device address}, 79 {FeelVibe function}, 12 {actuator method}, 247 (F0h, 7Dh, 00h, 08h, 06h, 5Ah, 4Fh, 0Ch, F7h)

Other settings of the FeelVibe actuator can be effectuated by using I2C commands such as I2C WRITE and I2C READ.