Things used in this project

Hardware components:
Pmod oc1  44559.1456866935.500.659
Digilent Pmod OC1
Anduino Arduino Uno
09590 01
LED (generic)
330 ohm resistor
Digilent Solderless Breadboard Kit: Small
Software apps and online services:
Ide web
Arduino IDE


Pmod OC1 and Arduino Uno Fritzing file
Fritzing file displaying the connection of the Pmod OC1 to the Arduino Uno.
Pmod OC1 and Arduino Uno Fritzing Image
Fritzing image displaying the connection between the Pmod OC1 and Arduino Uno.
Pmodoc1arduinouno bb v9qx5gmafj


Pmod OC1 and Arduino Uno CodeArduino
Using this code will light up LEDs and turn them off successively one after the other.
* Test of the Pmod
* Description: Pmod_OC1
* The LEDs light up and go out successively one after the other.
* Material
* 1. Arduino Uno
* 2. Pmod OC1 (do not remove the jumper)
* 3. 4 LEDs with 4 330 ohm resistors

void setup()
 for (int i=2; i<=5; i++) // configuration of pins 2 to 5 en sortie

void loop()
 for(int i = 2; i < 6; i++)
  digitalWrite(i,HIGH); // Saturation of the transistors
  digitalWrite(i,LOW); // Blocking transistors


Martha Migliacio
1 project • 2 followers
Thanks to Lextronics.


Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Add projectSign up / Login