/** * The amount of time in ms a bit takes to transmit. * * @type {Number} */ const CLOCK_TIME = 500; /** * The preamble that is sent before the packet. * * @type {Number[]} */ const PREAMBLE = [1, 1, 1, 0, 0, 0, 1, 1, 1];