export const sensorsCategory = {
  kind: 'category',
  name: 'Sensors',
  colour: '65',
  contents: [
    {
      kind: 'block',
      type: 'sonar_distance',
      inputs: {
        TRIG: { shadow: { type: 'math_number', fields: { NUM: 2 } } },
        ECHO: { shadow: { type: 'math_number', fields: { NUM: 3 } } },
      },
    },
    {
      kind: 'block',
      type: 'tcs34725_read_colours',
      fields: {
        CH: '0',
        ADDR: 41,
      },
    },
    {
      kind: 'block',
      type: 'tuple_index',
      inputs: {
        TUPLE: {
          shadow: {
            type: 'tcs34725_read_colours',
            fields: { CH: '0', ADDR: 41 },
          },
        },
      },
    },
  ],
};
