#N canvas 130 140 562 370 10;
#X obj 41 317 outlet;
#X obj 41 148 pack f f f;
#X obj 41 118 rj_loc;
#X obj 41 89 t b;
#X obj 41 59 metro 50;
#X obj 41 29 loadbang;
#X text 89 119 This external is only instantiated on an iDevice;
#X text 180 147 Send from 'get_sensor.pd' patch. This ensures that
development and testing can be carried out on the desktop.;
#X obj 130 152 r #loc;
#N canvas 0 22 366 441 NO_GPS 0;
#X obj 112 88 unpack f f f;
#X obj 181 118 == 0;
#X obj 146 118 == 0;
#X obj 112 118 == 0;
#X obj 146 157 &&;
#X obj 112 187 &&;
#X obj 112 58 inlet;
#X text 28 12 If GPS output is all zeros \, output error message;
#X obj 112 247 == 0;
#X obj 112 399 outlet;
#X obj 112 217 change -100;
#X obj 139 317 sel 0;
#X obj 112 287 t f f;
#X msg 139 339 GPS not detected;
#X text 28 29 and turn off output;
#X obj 139 361 print r_#loc Error;
#X connect 0 0 3 0;
#X connect 0 1 2 0;
#X connect 0 2 1 0;
#X connect 1 0 4 1;
#X connect 2 0 4 0;
#X connect 3 0 5 0;
#X connect 4 0 5 1;
#X connect 5 0 10 0;
#X connect 6 0 0 0;
#X connect 8 0 12 0;
#X connect 10 0 8 0;
#X connect 11 0 13 0;
#X connect 12 0 9 0;
#X connect 12 1 11 0;
#X connect 13 0 15 0;
#X restore 86 240 pd NO_GPS;
#X obj 41 200 t a a;
#X obj 41 276 spigot 1;
#X connect 1 0 10 0;
#X connect 2 0 1 0;
#X connect 2 1 1 1;
#X connect 2 2 1 2;
#X connect 3 0 2 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 8 0 10 0;
#X connect 9 0 11 1;
#X connect 10 0 11 0;
#X connect 10 1 9 0;
#X connect 11 0 0 0;
