by @Richard Martinez Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2597544a_96e1_4349_b7da_fccb7834a4f1"},{"@type":"Declare","tpe":"Real","name":"sensor","id":"id_954ed1cb_e715_47db_ac06_01e8df7a38df","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"t1","id":"id_43c51102_4299_4f38_8239_a657155e3512","initValue":null},{"@type":"Input","name":"t1","id":"id_c6ac7da4_8d04_4d19_a89b_0053aedb3a1d","prompt":null},{"@type":"Declare","tpe":"Integer","name":"t2","id":"id_5d954d32_404b_43cc_92c3_d03e0475f883","initValue":null},{"@type":"Input","name":"t2","id":"id_48dc365e_372b_4a4b_a6fd_2a19de1d118a","prompt":null},{"@type":"Declare","tpe":"Integer","name":"t3","id":"id_5f06b78a_a36f_41ed_8ee0_8927626bd1e7","initValue":null},{"@type":"Input","name":"t3","id":"id_ab158a6d_a136_4a27_9757_dfc2e3a12e62","prompt":null},{"@type":"Declare","tpe":"Real","name":"M","id":"id_9b2f93d1_0148_4aac_982a_a68b7357beeb","initValue":"0"},{"@type":"Declare","tpe":"Real","name":"m","id":"id_b650e446_f2fa_42d4_b8e7_7f02d3111281","initValue":"100"},{"@type":"Declare","tpe":"Real","name":"acum","id":"id_892f3067_af3c_4d07_8203_5389414f5b16","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"count","id":"id_32f12d98_2e04_4dc6_8597_f8a4fd739307","initValue":"0"},{"varName":"i","incr":"t3","@type":"ForLoop","start":"t1","end":"t2","id":"id_4498f7d5_de68_457c_83d5_91f74211f18c","body":{"statements":[{"@type":"Input","name":"sensor","id":"id_00d247f7_d470_466f_8dc0_1bf21bf05648","prompt":null},{"falseBlock":{"statements":[],"id":"id_d075b033_f423_4ec5_bf1f_05e95d13c69b"},"trueBlock":{"statements":[{"@type":"Assign","name":"M","id":"id_7b161cdf_e9fc_49ca_8683_34b9af91180f","value":"sensor"}],"id":"id_f0766f94_5db0_4099_b48c_1396cdb672f7"},"condition":"sensor>M","@type":"If","id":"id_04cc577a_3d8b_4919_b244_82b4957059ec"},{"falseBlock":{"statements":[],"id":"id_dd8497bc_15e4_49e5_9c49_8e46ea397b2a"},"trueBlock":{"statements":[{"@type":"Assign","name":"m","id":"id_96126155_11fc_42fd_b428_e3337b76c44d","value":"sensor"}],"id":"id_99c0c597_b62b_45f9_8b28_6f025d8c54d0"},"condition":"sensor<m","@type":"If","id":"id_209a3320_45d9_4af2_b33c_f94e5f6a7a07"},{"@type":"Assign","name":"acum","id":"id_620de329_bf58_4007_b993_3a3109ab6627","value":"acum+sensor"},{"@type":"Assign","name":"count","id":"id_64129ae7_8af5_4ab4_b278_cef71c40a696","value":"count+1"},{"newline":true,"@type":"Output","id":"id_58f5e748_cc39_4d4f_b37c_7cd65645891a","value":"sensor"}],"id":"id_0f6ed08e_9593_4100_8b0b_f455a8f16a14"}},{"newline":true,"@type":"Output","id":"id_78f146ea_a00c_462c_a71c_05e432a7d311","value":"M"},{"newline":true,"@type":"Output","id":"id_37aaed20_d73a_4315_9953_95b28af46684","value":"m"},{"@type":"Declare","tpe":"Real","name":"prom","id":"id_78ad868b_2370_442b_ad1e_0c0002d84c9d","initValue":"acum/t3"},{"newline":true,"@type":"Output","id":"id_25be350f_c984_4255_ae18_cd995506df08","value":"prom"},{"newline":true,"@type":"Output","id":"id_00c3d7fd_086d_47b3_b44c_171827d8b051","value":"\"fin de lectura\""},{"@type":"Return","id":"id_8bbcf7e8_dddd_46fb_b4d0_04eddc8212e4","maybeValue":null}],"parameters":[]},"id":"id_a9cc56c3_ae4d_452b_8d4e_b2c62fe026d6","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":664}