{"functions":[],"name":"Lector de Humedad","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c647d162_b474_457b_80fb_9ce61ef1f405"},{"@type":"Declare","tpe":"Integer","name":"tiempo","id":"id_6b0da607_6da2_4b1f_8743_a2bb51d1dffc","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"conT","id":"id_85ebf958_0979_40bd_ac34_2b0eea8e35ae","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"suma","id":"id_17a8aac3_f114_4d0d_847f_77e1812d7ac5","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"max","id":"id_1806b2f0_f1c8_4402_9e21_99799474f6c5","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"min","id":"id_c5651644_4007_41d6_b403_b24478148196","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"Humedad","id":"id_7ebeab51_2381_4466_a6ed_1d6346a20bdc","initValue":null},{"condition":"tiempo <=10","@type":"While","id":"id_3f5f116c_f537_44c2_b81f_966e245f9e2f","body":{"statements":[{"@type":"Input","name":"Humedad","id":"id_6ea6c50e_a216_4d3d_a087_8cf80b600446","prompt":"Ingrese el registro de humedad"},{"@type":"Assign","name":"tiempo","id":"id_e9190967_3cb2_43b8_a3c8_decd5ad17a46","value":"tiempo + 1"},{"@type":"Assign","name":"conT","id":"id_288bb898_0dd8_49f2_b521_96f1552552d2","value":"conT+1"},{"@type":"Assign","name":"suma","id":"id_d4f3b250_35ad_4e04_ba86_2573bedbbbd4","value":"suma + 1"},{"falseBlock":{"statements":[],"id":"id_2bb3ab4e_051d_4e98_8245_772bf316dd8b"},"trueBlock":{"statements":[{"@type":"Assign","name":"max","id":"id_a3f72646_e7e4_492f_9df5_8c16022150bc","value":"Humedad"}],"id":"id_b4ef6464_5086_42af_a091_1c6cdf926905"},"condition":"Humedad > max","@type":"If","id":"id_331d6bec_fbd9_4dd2_b465_3f024e3de475"},{"falseBlock":{"statements":[],"id":"id_ee744f60_a0ae_44d4_98c1_9cef938ed223"},"trueBlock":{"statements":[{"@type":"Assign","name":"min","id":"id_ec7e0565_2418_4831_8a8f_63af706231a7","value":"Humedad"}],"id":"id_b1a077f5_44a7_40c8_b953_6747a1a35742"},"condition":"Humedad<min","@type":"If","id":"id_dcc3b8bb_9d2d_4086_8e00_4d3c675778c0"}],"id":"id_15197b02_26b7_4c1e_9dd3_522c6c0f43a2"}},{"@type":"Declare","tpe":"Integer","name":"p","id":"id_71ba438d_0057_4948_932a_c467e0c3b548","initValue":"suma/conT"},{"newline":true,"@type":"Output","id":"id_924e08f3_ea08_452f_9e12_c0e4ff094d75","value":"\"El promedio de la humedad es:\"+p+\"\""},{"newline":true,"@type":"Output","id":"id_f29f49d3_c958_45fa_b272_a21559a09a72","value":"\"La humedad maxima es:\" + max"},{"newline":true,"@type":"Output","id":"id_0a3bc2d9_6cfc_42ac_9210_fcb25ee25ad9","value":"\"La humedad minima es:\" + min"},{"@type":"Return","id":"id_7b1373f2_57b1_4459_b364_f82812b1b104","maybeValue":null}],"parameters":[]},"id":"id_bb2007e6_6013_4acf_83ba_c0bb7b14b946","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":422}