Forum Discussion
Altera_Forum
Honored Contributor
8 years agoGPIO Pin Problems
Hi all, I am attempting to interface an ultrasonic range sensor with the DE2 board through the GPIO expansion header. The device has 4 connections, 5v vcc, ground, trigger, and echo. The 5v and gr...
Altera_Forum
Honored Contributor
8 years agoHi,
Are you trying to light up the LEDs on the board by connecting them to the SW switches? If you're using any of these SWs/LEDs/7-Seg LEDs, you will need to assign the proper pins for each. The QSF file for the DE2 board has been posted in an earlier reply. Please take a look at that or use it to assign the respective pins if you want to drive the LEDs or 7-Seg LED using the SW switches. GPIO pins are connected to the GPIO header and assigning SW switches to GPIOs will not drive the LEDs.