From e9c11fa94d20a3e5897cb3a399291006bb42f353 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 7 Oct 2012 18:53:46 +0000 Subject: named Pduino library actuall 'pduino' while keeping the object called [arduino] svn path=/trunk/externals/arduino/; revision=16347 --- examples/LED-lighting-fade.pd | 80 ------------------------------------------- examples/simple_input.pd | 20 ----------- 2 files changed, 100 deletions(-) delete mode 100644 examples/LED-lighting-fade.pd delete mode 100644 examples/simple_input.pd (limited to 'examples') diff --git a/examples/LED-lighting-fade.pd b/examples/LED-lighting-fade.pd deleted file mode 100644 index 46a2dcf..0000000 --- a/examples/LED-lighting-fade.pd +++ /dev/null @@ -1,80 +0,0 @@ -#N canvas 97 22 702 588 12; -#X declare -lib mapping; -#X obj 357 466 arduino 2; -#X obj 41 310 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 10510 1; -#X floatatom 49 346 5 0 0 0 - - -; -#X obj 197 302 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 6223 1; -#X floatatom 201 322 5 0 0 0 - - -; -#X obj 195 463 pddp/print; -#X obj 118 56 float; -#X obj 177 57 + 1; -#X obj 117 5 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 1 1 -; -#X obj 118 91 % 30; -#X floatatom 131 121 5 0 0 0 - - -; -#X obj 118 146 autoscale; -#X obj 38 230 disjoin; -#X obj 84 257 reverse; -#X obj 194 230 disjoin; -#X obj 240 255 reverse; -#X obj 310 151 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive -x 5 9 0 11 -232576 -1 -1 1300 0; -#X floatatom 327 171 7 0 0 0 - - -; -#X obj 194 201 exponential_sigmoid; -#X obj 498 -42 import mapping; -#X msg 424 42 devices; -#X msg 429 83 open 4; -#X text 483 41 1) click this message to get; -#X text 485 58 the number of your arduino; -#X text 483 83 2) put your arduino # here; -#X text 484 103 and click this message; -#X text 438 135 3) wait for a few seconds for your; -#X text 438 153 arduino to reboot \, then click both; -#X text 438 171 of the messages below to configure; -#X text 438 190 your arduino; -#X text 515 217 (set pin 5 to PWM mode); -#X text 138 2 4) click this to start the LEDs-a-pulsing; -#X text 225 128 of the pulsing; -#X text 225 114 5) adjust the curve; -#X text 515 247 (set pin 6 to PWM mode); -#X text 28 -52 This example patch requires an Arduino and two LEDs. -Plug in the LEDs into pins 5 and 6 on your Arduino.; -#X msg 40 372 pwm 5 \$1; -#X obj 195 351 prepend pwm 6; -#X obj 40 463 pddp/print; -#X text 48 435 see the messages:; -#X msg 417 246 pinMode 6 pwm; -#X msg 414 219 pinMode 5 pwm; -#X obj 117 28 metro 100; -#X connect 1 0 36 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 3 0 37 0; -#X connect 6 0 7 0; -#X connect 6 0 9 0; -#X connect 7 0 6 1; -#X connect 8 0 42 0; -#X connect 9 0 10 0; -#X connect 9 0 11 0; -#X connect 11 0 12 0; -#X connect 11 0 18 0; -#X connect 12 0 1 0; -#X connect 12 1 13 0; -#X connect 13 0 1 0; -#X connect 14 0 3 0; -#X connect 14 1 15 0; -#X connect 15 0 3 0; -#X connect 16 0 17 0; -#X connect 16 0 18 1; -#X connect 18 0 14 0; -#X connect 20 0 0 0; -#X connect 21 0 0 0; -#X connect 36 0 0 0; -#X connect 36 0 38 0; -#X connect 37 0 5 0; -#X connect 37 0 0 0; -#X connect 40 0 0 0; -#X connect 41 0 0 0; -#X connect 42 0 6 0; diff --git a/examples/simple_input.pd b/examples/simple_input.pd deleted file mode 100644 index 55d5827..0000000 --- a/examples/simple_input.pd +++ /dev/null @@ -1,20 +0,0 @@ -#N canvas 194 50 450 300 10; -#X obj 114 139 arduino; -#X msg 114 54 pinMode 5 0; -#X msg 130 82 digitalIns 0 1; -#X msg 144 112 analogIns 0 1; -#X obj 114 167 route digital analog; -#X msg 90 29 open 0; -#X obj 172 192 route 0; -#X obj 172 215 print Analog pin 0 value is; -#X obj 114 238 print Digital pin 5 is; -#X obj 114 203 route 5; -#X connect 0 0 4 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 4 0 9 0; -#X connect 4 1 6 0; -#X connect 5 0 0 0; -#X connect 6 0 7 0; -#X connect 9 0 8 0; -- cgit v1.2.1