Go Down

Topic: audio to relay (Read 1 time) previous topic - next topic


hello, i'm new with arduino and i having a lot of fun. I'm  playing with audio and light.

i use this code in this topic: http://arduino.cc/forum/index.php?topic=8590.0

but now i whant to connect a relaybord instead of leds, but what do i change in de code that here is no pwm?

i only whant to make a pin HIGH or LOW and not dimmable because of the relays


Simply use digitalWrite() instead of analogWrite().  And, take-out any code that sets the "analog" PWM values.


Thank you!

only the output pins are now (opposing) high when there is no volume and if there is volume then the pins are low
how do i change that?

already many thanks


i figured it out, it whas a problem in my relay bord.

Go Up