example1-8X2A.pd 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #N canvas 738 317 562 579 10;
  2. #X declare -stdpath moonlib;
  3. #X declare -stdpath hcs;
  4. #X declare -stdpath ggee;
  5. #X declare -stdpath zexy;
  6. #X declare -lib zexy;
  7. #X declare -path Fraise -stdpath Fraise;
  8. #X obj 22 237 analog/parse;
  9. #X obj 22 262 route 0 1 2 3;
  10. #X floatatom 22 371 8 0 0 0 - - -, f 8;
  11. #X floatatom 40 345 8 0 0 0 - - -, f 8;
  12. #X floatatom 59 319 8 0 0 0 - - -, f 8;
  13. #X floatatom 78 293 8 0 0 0 - - -, f 8;
  14. #X obj 22 207 fruit/receive fruit1;
  15. #X text 114 235 Analog capture on connector K1 \, K2 \, K3 and K5.
  16. ;
  17. #X text 109 250 (K4 \, K11 and K12 cannot be analog inputs on Versa1)
  18. ;
  19. #X msg 236 514 L\$1;
  20. #X obj 236 491 tgl 15 0 empty empty set_LED 18 7 0 10 -4034 -1 -1 0
  21. 1;
  22. #X obj 327 455 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
  23. 1;
  24. #X msg 378 430 20;
  25. #X floatatom 378 452 5 2 1000 0 - - -, f 5;
  26. #X msg 408 429 100;
  27. #X obj 327 474 metro 100;
  28. #X obj 131 540 fruit/send2 fruit1;
  29. #X obj 21 38 pied/pied 0 41424;
  30. #X obj 22 399 spigot;
  31. #X obj 80 384 tgl 15 0 empty empty empty 17 7 0 10 -257985 -1 -1 0
  32. 1;
  33. #X text 102 382 <- switch this on \, then touch the pins of connector
  34. K1 to drive the led on., f 30;
  35. #X obj 22 474 > 500;
  36. #X obj 21 16 declare -path Fraise -stdpath Fraise;
  37. #X obj 19 141 fruit/fruit 1 fruit1 10 example1-8X2A;
  38. #X connect 0 0 1 0;
  39. #X connect 1 0 2 0;
  40. #X connect 1 1 3 0;
  41. #X connect 1 2 4 0;
  42. #X connect 1 3 5 0;
  43. #X connect 2 0 18 0;
  44. #X connect 6 0 0 0;
  45. #X connect 9 0 16 1;
  46. #X connect 10 0 9 0;
  47. #X connect 11 0 15 0;
  48. #X connect 12 0 13 0;
  49. #X connect 13 0 15 1;
  50. #X connect 14 0 13 0;
  51. #X connect 15 0 10 0;
  52. #X connect 18 0 21 0;
  53. #X connect 19 0 18 1;
  54. #X connect 21 0 10 0;