headers = {} del pulses[0] q = [int(i * self.brightness) for i in self._buf]