Arduino Cpp Genie Magic Spectrum
This example is a Companion sketch for the MagicSpectrum example in ViSi-Genie. The Workshop 4 sample consists of 2 Spectrum objects with different Columns. MagicObject0 was used as Spectrum Object Handler.
How MagicObject(Spectrum multibyte handler) handles data from arduino
Byte Meaning
1 spectrum object number
2 Starting Bar(0 to Columns-1)
3-n New values to be written to consecutive bars
eg in GTX, click 'Send Values', check "Other" and Bytes, then enter 00,05,10,20,30,40,50,60,70,80,90,100 and click OK
The Arduino sketch (or program) uses the function genie.WriteMagicBytes to talk with the spectrum.This command can be used to send an array of bytes to a magic object. The magic object can process the bytes in any way you want it to as there are no restrictions on the format of the information sent.
This example is a Companion sketch for the MagicSpectrum example in ViSi-Genie. The Workshop 4 sample consists of 2 Spectrum objects with different Columns. MagicObject0 was used as Spectrum Object Handler.
How MagicObject(Spectrum multibyte handler) handles data from arduino
Byte Meaning
1 spectrum object number
2 Starting Bar(0 to Columns-1)
3-n New values to be written to consecutive bars
eg in GTX, click 'Send Values', check "Other" and Bytes, then enter 00,05,10,20,30,40,50,60,70,80,90,100 and click OK
The Arduino sketch (or program) uses the function genie.WriteMagicBytes to talk with the spectrum.This command can be used to send an array of bytes to a magic object. The magic object can process the bytes in any way you want it to as there are no restrictions on the format of the information sent.