From 931f134eeca5a1cd75993fc4bb0ed299ee1e0ac0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 24 Oct 2009 06:13:56 +0000 Subject: added the ability to query anything and made two patches based on that to get specific info: cpu temp and fan info svn path=/trunk/externals/apple/; revision=12659 --- fans-help.pd | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 fans-help.pd (limited to 'fans-help.pd') diff --git a/fans-help.pd b/fans-help.pd new file mode 100644 index 0000000..aaf2856 --- /dev/null +++ b/fans-help.pd @@ -0,0 +1,60 @@ +#N canvas 735 22 560 421 10; +#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header fans 3 12 0 18 +-241536 -1 0; +#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13 +-245500 -191407 0; +#N canvas 779 22 494 344 META 0; +#X text 12 25 KEYWORDS control number float store; +#X text 12 45 LICENSE GPL; +#X text 12 65 TEMPLATE template-help.pd v0.1; +#X text 12 85 PLATFORM windows macosx gnulinux; +#X text 12 105 DATATYPE float list; +#X text 12 125 LIBRARY internal; +#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 165 RELEASE_DATE 2007-08-24; +#X text 12 185 RELEASE_VERSION 0.40-test05; +#X text 12 5 GENRE storage; +#X restore 500 373 pd META; +#X obj 3 262 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0 +13 -245500 -191407 0; +#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15 +12 0 13 -245500 -191407 0; +#X obj 470 6 pddp/pddplink http://wiki.puredata.info/en/apple/fans +-text pdpedia: fans; +#X msg 146 48 bang; +#X obj 73 73 metro 250; +#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 +; +#X text 183 46 output sensor values; +#X obj 72 283 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +-162280 0; +#X obj 146 101 apple/fans; +#X text 15 6 description: query the system fans in Apples; +#X text 94 201 bang - output all data about all fans; +#X obj 485 -14 apple/fans; +#X floatatom 146 153 5 0 0 0 - - -; +#X floatatom 180 153 5 0 0 0 - - -; +#X floatatom 215 153 5 0 0 0 - - -; +#X obj 173 75 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144 -1 +-1 0; +#X text 302 73 choose a specific fan; +#X text 94 221 float - output all data about a specific fan; +#X obj 146 131 route F0Ac F0Mn F0Mx F0Sf F0Tg; +#X floatatom 252 153 5 0 0 0 - - -; +#X floatatom 287 153 5 0 0 0 - - -; +#X obj 72 309 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856 +-162280 0; +#X text 103 280 messages with the values of the various data; +#X text 104 306 messages with status information; +#X text 94 241 symbol - output a specific data about a specific fan +; +#X connect 6 0 11 0; +#X connect 7 0 11 0; +#X connect 8 0 7 0; +#X connect 11 0 21 0; +#X connect 18 0 11 0; +#X connect 21 0 15 0; +#X connect 21 1 16 0; +#X connect 21 2 17 0; +#X connect 21 3 22 0; +#X connect 21 4 23 0; -- cgit v1.2.1