Hi Jeremy,
I am doing a project with the question like this: If the person is near the speaker, the volume will decrease and when the person is far from the speaker, the volume will increase.
I would like to ask if I am using MPLAB ICD 2 (P18F4520) mircocontroller and connecting it with a PING ultrasonics distance sensor #28015 to control the volume by using a stereo auto volume control (PGA 2311).
How do my coding sure write?? I need some example:
Best Regards,
Terry