export const pwmCategory = {
  kind: 'category',
  name: 'PWM',
  colour: '160',
  contents: [
    { kind: 'block', type: 'pwm_init' },
    {
      kind: 'block',
      type: 'pwm_set_duty',
      inputs: { DUTY: { shadow: { type: 'math_number', fields: { NUM: 512 } } } },
    },
    {
      kind: 'block',
      type: 'pwm_set_freq',
      inputs: { FREQ: { shadow: { type: 'math_number', fields: { NUM: 1000 } } } },
    },
  ],
};
