Forum Discussion

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

write some data to lcd

i am trying write some data to lcd, by using c code to LCD on nios eclips software i do not understand parameters of the prototype of below function which is available in document "16x2 Character Display for Altera DE2-Series Boards" can any body explain this function?

Prototype: void alt_up_character_lcd_write_fd(alt_fd *fd, const char *ptr, unsigned int len)

1 Reply

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

    it takes a pointer to the output buffer (fd) a pointer to the c-string (ptr) and length of that string (len)