Hi,
I have a Nokia 5110 display connected as per http://scruss.com/blog/2013/01/19/the-q ... ish-clock/, and an HC-SR04 Ultrasonic distance connected on GPIO14 and GPIO15. (Header pins 8 and 10), and I'm measuring distance and displaying to the display fine using python.
In the meantime, if I play an MP3 file with 'mpg123' to the audio output jack, the intensity of the backlight LED on the display seems to vary in direct proportion to the sound level playing. - This is connected to header pin 12 (GPIO18).
Can anyone tell my why this is happening?
Initially discovered when having a bit of fun using the distance sensor as a sort of 'Theramin', playing a particular MP3 at particular distance - not a great Theramin, but fun bit of code to use the sensor.
Thanks.
Alan.