by @Maya Gandhi Fork
{"functions":[],"name":"motionligh","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_115d73e8_80a7_4731_a712_602f724deeca"},{"@type":"Input","name":"motion detected","id":"id_93b8d2ab_7f29_4a53_aec0_e431f7c8b8c4","prompt":null},{"@type":"Input","name":"light level","id":"id_e96d29ea_75ce_4e7a_a159_cbba668114e7","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a7a7f830_c850_4af1_82f8_d57b75ae115f","value":"lights OFF"}],"id":"id_9db17896_b5c3_46f2_9f15_fff1fdf40d7a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9ab79868_8dd2_453e_9a9b_ab86d1d5d68d","value":"lights ON"}],"id":"id_0dd83b02_29c7_46dd_82de_caed4b9e496c"},"condition":"Motion Detected AND Light Level < 50??","@type":"If","id":"id_0c11ec32_7ca8_4a8a_a6af_e5711c753a99"},{"@type":"Return","id":"id_aee841ad_6e82_4345_9512_a976eb4f0fd4","maybeValue":null}],"parameters":[]},"id":"id_01d4dcdb_dcf1_4780_853d_2583b5413de0","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":650}