From b66486579be31c66d608d369229c2192e9da9962 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 11 Sep 2006 23:31:39 +0000 Subject: quick, basic object to convert a stream of ASCII chars to a numeric value, useful for talking to things like Processing and PyS60 svn path=/trunk/externals/hcs/; revision=5919 --- ascii0x2d0x3eint-help.pd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ascii0x2d0x3eint-help.pd (limited to 'ascii0x2d0x3eint-help.pd') diff --git a/ascii0x2d0x3eint-help.pd b/ascii0x2d0x3eint-help.pd new file mode 100644 index 0000000..be90265 --- /dev/null +++ b/ascii0x2d0x3eint-help.pd @@ -0,0 +1,25 @@ +#N canvas 438 263 461 272 10; +#X floatatom 253 143 5 0 0 0 - - -; +#X obj 241 191 ascii->int; +#X msg 305 168 bang; +#X msg 192 168 bang; +#X text 20 169 output current value -->; +#X text 343 168 <-- reset; +#X floatatom 241 220 0 0 0 0 - - -; +#X obj 241 117 int; +#X text 38 28 convert a stream of ASCII digits to a single int value +; +#X msg 242 63 49 52 57 32; +#X msg 138 63 53 56 49 50 1; +#X obj 241 240 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 241 95 zexy/drip 500; +#X connect 1 0 6 0; +#X connect 2 0 1 1; +#X connect 3 0 1 0; +#X connect 6 0 11 0; +#X connect 7 0 0 0; +#X connect 7 0 1 0; +#X connect 9 0 12 0; +#X connect 10 0 12 0; +#X connect 12 0 7 0; -- cgit v1.2.1