Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

niosii urgent please

Hi,

I have to program the nios but I can not use these commands:

# Include "system.h"

# Include "altera_avalon_pio_regs.h"

statica alt_u8 contare;

# Define ESC 27

# Define ESC_TOP_LEFT "[1; 0H"

# Define ESC_COL2_INDENT5 "[2; 5H"

# Define ESC_COL1_INDENT1 "[1; 1H"

# Define ESC_COL1_INDENT5 "[1; 5H"

# Define ESC_COL2_INDENT1 "[2; 1H"

# Define ESC_COL2_INDENT5 "[2; 5H"

# Define ESC_COL2_INDENT10 "[2; 10H"

# Define ESC_COL2_INDENT14 "[2; 14H"

# Define ESC_CLEAR "K"

# Ifdef LCD_DISPLAY_BASE staticvoid lcd_init (FILE * lcd)

for example

You know advise me to download an operating manual to learn how to program the nios?

thank you very much

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Did you try the Nios tutorials on Altera's web site?

    What does "can not use these commands" mean?