WM8960-Audio-HAT icon indicating copy to clipboard operation
WM8960-Audio-HAT copied to clipboard

WM8960 与 pigpiod 的冲突是要命的,无法使用软串口了?

Open 43998213 opened this issue 4 years ago • 0 comments

使用 pigpiod 命令 或是 pigpiod -t 0 然后启动软串口,其中 .wave_send_once() 如下描述 """ Transmits the waveform with id wave_id. The waveform is sent once.

  NOTE: Any hardware PWM started by [*hardware_PWM*] will
  be cancelled.

  wave_id:= >=0 (as returned by a prior call to [*wave_create*]).

  Returns the number of DMA control blocks used in the waveform.

  ...
  cbs = pi.wave_send_once(wid)
  ...
  """

如果正在播放音乐,执行此命令会当即停止,即便释放后也无法正确的播放音频,求解决!

43998213 avatar Nov 07 '20 08:11 43998213