Is possible to add another menu and place scripts there?
There is possible during multiple scripts upload to have WHITE menu as addition to BLUE, GREEN and RED standard menu. But there are some limitations. WHITE menu at FW 4.5 appears only when script(s) without ICON information are uploaded. Position and appearance of these scripts without ICON is fixed starting from 1,2,..6. In this case additionally scripts that contain ICONS can be positioned in the WHITE menu on free spots as well, however sound files indicated in ICON description will not work (become default). Currently we are working on easier and completely free placement of uploaded scripts with GUI interface. Should be released before end of the 2013.
Is it possible to communicate with cube outside RFC?
Yes, if you connect the cube to computer via USB cable, virtual serial comport become available and it provides simple prompt shell, echo is initially switched off! Simply press few times enter to get answer. Do not forgot to switch off flow control, speed is not important! For all available commands search in SDK manual. Remember, that RFC uses multiplex protocol and it is automatically set up when cube connects first time to RFC. If you would just close RFC, than the multiplex keeps running. To switch back for simple mode, simply cycle USB cable.
Is it possible to use data from CUBE and control LEDs?
Yes, cube shell (connection is described above) offers several commands for retrieving data from accelerometer and commands for full control of all LEDs. Read the SDK manual for more information, commands of interest are: “clr, pled, pleds, pledarr, motion”. Motion is a special command that sends in frequency 125 Hz state information from game state machine. That means not only raw accelerometer data, but for example as well recognized taps.
How shell can communicates with scripts?
FW 4.5 allows to use command “prunf N”, which starts automatically script on N-th position. Future version should be able to start any scripts via its name if present. Also SDK implements standard function “printf(…)” which outputs formatted text to shell line. So this output, even originally designed as debug function, can be parsed by external program. At this moment there is no line that would allow to send message to the script, but it is planned for next update.