UKI-ESP8266.pd 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #N canvas 780 397 1010 504 12;
  2. #X floatatom 414 304 3 0 0 0 - - -, f 3;
  3. #X floatatom 441 304 3 0 0 0 - - -, f 3;
  4. #X floatatom 468 304 3 0 0 0 - - -, f 3;
  5. #X floatatom 495 304 3 0 0 0 - - -, f 3;
  6. #X floatatom 522 305 5 0 0 0 - - -, f 5;
  7. #X obj 414 278 unpack 0 0 0 0 0;
  8. #X msg 191 90 status;
  9. #X floatatom 293 225 9 0 0 0 - - -, f 9;
  10. #X obj 474 251 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 1
  11. ;
  12. #X floatatom 353 251 9 0 0 0 - - -, f 9;
  13. #X text -10 90 get status on right outlet:;
  14. #X text 186 225 bytes received:;
  15. #X text 201 249 total bytes received:;
  16. #X text 371 303 from:;
  17. #X text 293 78 Specify a multicast address (from 224.0.0.0 to 239.255.255.255)
  18. to use multicasting;
  19. #X text 36 38 Creation arguments: port number to listen on (required)
  20. ;
  21. #X obj 191 294 spigot;
  22. #X obj 230 274 tgl 15 0 empty empty enable_print: -77 8 0 10 -4034
  23. -1 -1 0 1;
  24. #X obj 293 192 route received total from multicast;
  25. #X text 175 56 IP address to listen on (optional);
  26. #X msg 202 129 port 9998;
  27. #X text 276 127 change port to listen on;
  28. #X text 486 360 Martin Peach 2010/10/15;
  29. #X text -12 3 [udpreceive] receives datagrams over a udp connection
  30. and outputs them as raw bytes.;
  31. #N canvas 529 53 494 344 META 0;
  32. #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  33. Wilkes for Pd version 0.42.;
  34. #X text 12 25 LICENSE GPL v2 or later;
  35. #X text 12 135 AUTHOR Martin Peach;
  36. #X text 12 5 KEYWORDS control network;
  37. #X text 12 45 DESCRIPTION receive datagrams over a udp connection and
  38. outputs them as raw bytes;
  39. #X text 12 75 INLET_0 status port;
  40. #X text 12 95 OUTLET_0 anything;
  41. #X text 12 115 OUTLET_1 received total from multicast;
  42. #X restore 657 396 pd META;
  43. #X obj 73 265 realtime;
  44. #X obj 87 221 t b b;
  45. #X floatatom 75 293 5 0 0 0 - - -, f 5;
  46. #X floatatom 84 395 5 0 0 0 - - -, f 5;
  47. #X obj 85 367 t f f;
  48. #X obj 13 369 t f f;
  49. #X floatatom 13 394 5 0 0 0 - - -, f 5;
  50. #X obj 12 345 min 100;
  51. #X obj 102 344 max;
  52. #X obj 191 319 moocow/bytes2any;
  53. #X obj 190 159 mrpeach/udpreceive 8000;
  54. #X obj 200 373 vsl 10 50 0 1024 0 0 empty empty empty 0 -9 0 10 -262144
  55. -1 -1 0 1;
  56. #X obj 215 392 realtime;
  57. #X obj 215 368 t b b;
  58. #X floatatom 215 415 5 0 0 0 - - -, f 5;
  59. #X obj 200 344 route UKI_ESP_1;
  60. #X obj 320 423 vsl 10 50 0 1024 0 0 empty empty empty 0 -9 0 10 -262144
  61. -1 -1 0 1;
  62. #X obj 335 442 realtime;
  63. #X obj 335 418 t b b;
  64. #X floatatom 335 465 5 0 0 0 - - -, f 5;
  65. #X floatatom 155 378 5 0 0 0 - - -, f 5;
  66. #X obj 320 394 route UKI_ESP_2;
  67. #X obj 404 361 print received;
  68. #X obj 620 242 mrpeach/udpsend;
  69. #X msg 634 164 48 49 50;
  70. #X floatatom 148 337 5 0 0 0 - - -, f 5;
  71. #X msg 624 209 disconnect \, connect 192.168.1.255 9000;
  72. #X connect 5 0 0 0;
  73. #X connect 5 1 1 0;
  74. #X connect 5 2 2 0;
  75. #X connect 5 3 3 0;
  76. #X connect 5 4 4 0;
  77. #X connect 6 0 35 0;
  78. #X connect 16 0 34 0;
  79. #X connect 17 0 16 1;
  80. #X connect 18 0 7 0;
  81. #X connect 18 1 9 0;
  82. #X connect 18 2 5 0;
  83. #X connect 18 3 8 0;
  84. #X connect 20 0 35 0;
  85. #X connect 25 0 27 0;
  86. #X connect 25 0 32 0;
  87. #X connect 25 0 33 0;
  88. #X connect 26 0 25 0;
  89. #X connect 26 1 25 1;
  90. #X connect 29 0 28 0;
  91. #X connect 29 1 33 1;
  92. #X connect 30 0 31 0;
  93. #X connect 30 1 32 1;
  94. #X connect 32 0 30 0;
  95. #X connect 33 0 29 0;
  96. #X connect 34 0 40 0;
  97. #X connect 35 0 16 0;
  98. #X connect 35 0 26 0;
  99. #X connect 35 1 18 0;
  100. #X connect 37 0 39 0;
  101. #X connect 38 0 37 0;
  102. #X connect 38 1 37 1;
  103. #X connect 40 0 36 0;
  104. #X connect 40 0 38 0;
  105. #X connect 40 0 50 0;
  106. #X connect 40 1 46 0;
  107. #X connect 42 0 44 0;
  108. #X connect 43 0 42 0;
  109. #X connect 43 1 42 1;
  110. #X connect 46 0 41 0;
  111. #X connect 46 0 43 0;
  112. #X connect 46 1 47 0;
  113. #X connect 49 0 48 0;
  114. #X connect 51 0 48 0;