{
  "format": "taoyuan-blockly-v1",
  "board": "uno",
  "workspace": {
    "blocks": {
      "languageVersion": 0,
      "blocks": [
        {
          "type": "arduino_program",
          "id": "breakbeam_program",
          "x": 40,
          "y": 40,
          "deletable": false,
          "inputs": {
            "SETUP": { "block": { "type": "arduino_serial_begin", "id": "breakbeam_serial", "fields": { "BAUD": "115200" } } },
            "LOOP": {
              "block": {
                "type": "arduino_serial_print",
                "id": "breakbeam_print",
                "fields": { "METHOD": "println" },
                "inputs": { "VALUE": { "block": { "type": "playrobot_ir_breakbeam", "id": "breakbeam_read", "fields": { "PIN": 2, "ACTIVE_LEVEL": "LOW" } } } },
                "next": { "block": { "type": "arduino_delay", "id": "breakbeam_delay", "inputs": { "TIME": { "shadow": { "type": "math_number", "id": "breakbeam_delay_value", "fields": { "NUM": 100 } } } } } }
              }
            }
          }
        }
      ]
    }
  },
  "sourceFormat": "ir-breakbeam-counter-example"
}
