#N canvas 396 160 600 500 10; #X declare -lib Gem; #X text 52 292 x pos; #X text 94 292 y pos; #X obj 234 146 gemorb 2; #X floatatom 82 267 0 0 0 0 - - -; #X floatatom 117 267 0 0 0 0 - - -; #X floatatom 152 267 0 0 0 0 - - -; #X floatatom 202 271 0 0 0 0 - - -; #X floatatom 237 271 0 0 0 0 - - -; #X floatatom 272 271 0 0 0 0 - - -; #X text 133 90 the outputs of gemorb are:; #X text 134 292 z pos; #X text 197 293 x rot; #X text 239 293 y rot; #X text 279 293 z rot; #X obj 91 230 unpack 0 0 0; #X obj 204 230 unpack 0 0 0; #X floatatom 333 270 0 0 0 0 - - -; #X floatatom 368 270 0 0 0 0 - - -; #X floatatom 403 270 0 0 0 0 - - -; #X obj 385 231 unpack 0 0 0 0 0 0; #X floatatom 448 271 0 0 0 0 - - -; #X floatatom 483 271 0 0 0 0 - - -; #X floatatom 518 271 0 0 0 0 - - -; #X text 133 111 position; #X text 224 110 rotation; #X text 317 109 button status; #X text 340 290 a; #X text 377 293 b; #X text 411 290 c; #X text 457 293 d; #X text 491 291 e; #X text 529 295 f; #X text 94 56 The argument should be the serial port number of the orb; #X text 255 17 gemorb; #X obj 491 4 declare -lib Gem; #X connect 2 0 14 0; #X connect 2 1 15 0; #X connect 2 2 19 0; #X connect 14 0 3 0; #X connect 14 1 4 0; #X connect 14 2 5 0; #X connect 15 0 6 0; #X connect 15 1 7 0; #X connect 15 2 8 0; #X connect 19 0 16 0; #X connect 19 1 17 0; #X connect 19 2 18 0; #X connect 19 3 20 0; #X connect 19 4 21 0; #X connect 19 5 22 0;