Forum Discussion
Altera_Forum
Honored Contributor
13 years agoIam using Nios II 11.1 version,
My Nios Project is [#include <stdio.h># include"ststem.h># include "altera_avalon_pio_regs.h" int main() { printf("Hello form Nios II); int count=0; int delay; while(1) { IOWR_ALTERA_AVALON_PIO_DATA(PIO_LED_BASE, count & 0x01); delay=0; while(delay< 2000000) { delay++; } count++; } return 0; }] This is the my program, whre is the mistake? Thanks, Alex.