Documentation for IoAbstraction extras.

PGA2310 Volume Control device for IoAbstraction

By dave on May 22, 2023

PGA2310 Volume Control device Provides a simple analog device that can be used to control a PGA2310 volume device. Left channel is 0 and right channel is 1. The device should be connected on the SPI bus as usual. This should work with Arduino now, and mbed in a patch release coming soon. To use first include the header: #include <extras/Pga2310VolumeControl.h> Then initialise globally: SPIWithSettings spiSettings(&SPI, CS_PIN); Pga2310VolumeControl pga2310(spiSettings); And to use it as a floating point value

This site uses cookies to analyse traffic, and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.

Send a message
X

Please use the forum for help with UI & libraries.

This message will be securely transmitted to our servers.