{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6b8d823c_d8d9_48e9_b6f5_277d756983ba"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"motiondetected","lengthValue2":"5","id":"id_a7d0b8f6_0e2b_4aea_b4a8_15a7bc0620b7","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"nighttime","lengthValue2":"5","id":"id_1a3ebe00_a67e_4c16_a192_6b3abeb820ad","initValue":null},{"@type":"Input","name":"motiondetected","id":"id_6ad3ab02_c6ea_4770_bfc6_39e0c200e6f9","prompt":"Please enter motiondetected:"},{"@type":"Input","name":"nighttime","id":"id_6490c3a3_5957_4d88_848f_1fda29ef67ee","prompt":"Please enter nighttime:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a1999c63_17bf_4137_a6d6_dc427e019f5f","value":"\"no motion detected\""}],"id":"id_d1bf36cc_2b75_476b_a655_c30dae02e6e9"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a49e9fd6_a719_472e_a020_96c9df51293a","value":"\"daymade\""}],"id":"id_29cc588c_1dcd_47a5_80f4_053405007f49"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_33513b0c_ebc6_4fed_97ea_47de85f0deca","value":"\"lights on\""}],"id":"id_87ead070_7a41_4d3c_979d_85ea126fa42f"},"condition":"nighttime==\"yes\"","@type":"If","id":"id_75646956_ef64_47c2_a71a_c508fd14ef5a"}],"id":"id_21a7d9ba_1534_451d_9e41_797d53e70afe"},"condition":"motiondetected==\"yes\"","@type":"If","id":"id_59472468_b0dc_4497_8a4a_4a5aa7d3ea3d"},{"@type":"Return","id":"id_3369c571_96e0_42e7_8b2f_af6114d73ccf","maybeValue":null}],"parameters":[]},"id":"id_80f08679_418c_4c8b_9715_0c7be055639b","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.3","revision":194}