« Return to Thread: GPIO on consoleLCD-VX
Dave Hylands wrote:Hi Edward,
> I can light a LED which is connected to GPIO13 (X_MOST) and the GND right
> above it.
>
> The LED blinks when I do echo "GPIO out set" > /proc/gpio/GPIO13.
>
> Is blinking the right behavior for my LED?
No - the LED should go on solid. Hopefully you connected an LED and a
current limitnig resistor.
> I'm would like to attach a buzzer and a LED so that they function as status
> indicators for my gumstix.
>
> Do you have any suggestion?
I've never tried driving a buzzer, but presumably you could. You'd
need some type of driver circuitry.
There is a PWM output on the gumstix which might be usable. You'd need
to look at the frequency range that it can produce.
You Should be able to use an ordinary speaker with a simple circuit like this:
<http://www.sixca.com/micro/mcs51/music51/index.html>
You just need to provide a square wave on the P2.0 line with the
frequency you'd like to produce.
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
« Return to Thread: GPIO on consoleLCD-VX
| Free embeddable forum powered by Nabble | Forum Help |