- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi to all,
I use Cyclone III starter board I downloaded the instalation kit for this board , i tried with the standard project and does it work , later I copy this code [1] to eclipse and works also. I tried to light the other LEDs and used the buttons I have not found the solution. I await your solutions if you have documents can help me (tutorials) ^^, Thank you in advance :) Code [1]:# include <stdio.h># include "system.h"# include "altera_avalon_pio_regs.h" int main() { printf("Hello from Nios II!\n"); int count = 0; int delay; while(1) { IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE, count & 0x01); delay = 0; while(delay < 2000000) { delay++; } count++; } return 0; }Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page