Forum Discussion
Altera_Forum
Honored Contributor
14 years agohi,
first of all. your English was not wrong. I'm sorry for that. does your SOPC have PIO(Peripheral I/O)? and, is that connected to LEDs? then what you have to do is writing C-code. like ... //------------------------------------------------------------------ # include <stdio.h> # include <io.h> # include "system.h" int main() { // PIO_BASE is the address of PIO which is declared in system.h // 0x01 will be condition of LEDs, LED[0] will be lit. IOWR_8DIRECT(PIO_BASE,0,0x01); } //------------------------------------------------------------------ since, I don't know abaout DE0-nano boards information. I can not answer to your question exactly. if you have problem, ask me again. bye bye.