change bit colour after break?

22 views
Skip to first unread message

Andrew Kohlsmith

unread,
Apr 27, 2022, 10:16:03 AMApr 27
to WaveDrom
When I include a break (|), the colour of the background for the bit period is the same as the colour of the bit period before the break. Is it possible to change the colour after the break so it is clearer that it is not the same bit period?

e.g.

{
  signal: [
    {name: 'BCLK', wave: 'P.............|.....................', phase: 0.3},
    {name:   'FS', wave: '010...........|................10...'},
    {name:  'DAT', wave: '2.3.......4...|9.......2........3...', data: ['7','0','1','6','7','0']},
  ],
  config: { skin: "narrow" }
}

The '1' timeslot bit periods are orange, and after the break they're still orange, although after the break that is the fifth timeslot and should be a different colour (say blue). I'd like the bit period after the break to be blue.

Thanks,
Andrew
Reply all
Reply to author
Forward
0 new messages