andrewn / neue-radio

Neue Radio: Prototype connected object using web technologies
10 stars 6 forks source link

DAC and Physical UI interferance #23

Closed andrewn closed 6 years ago

andrewn commented 6 years ago

When the phsyical service is started, no sound comes out of the Phat DAC.

Although the Phat DAC and the Radiodan Classic PCB do not share any pins, the default behaviour of JohnnyFive and Raspi-io is to innitialise all the GPIO pins to known states and this conflicts with the DAC pins.

The fix in this commit ensures that only pins we are actually using in the physical service config (example) are initialised.

Now, sound works but it plays at a slow speed. That's probably a conflict with the pigpio library used by Raspi-io, as indicated in this FAQ.