Does anyone know of a simple class any any language that can send a short voltage burst every time the class is called? My language of choice is Java but i assume i will have to use C. I'm trying to power an array of LEDs and have them blink in order based on a set of Java arrays. I want the power source to be USB. I will probably have to use a resistor to reduce the voltage.
USB = 5v or 3.3v

i assume i will have to use C. I'm trying to power an array of LEDs and have them blink in order based on a set of Java arrays. I want the power source to be USB. I will probably have to use a resistor to reduce the voltage.
USB = 5v or 3.3v