[En-Nut-Discussion] Some questions about LCD and Ethernet

Alur alur at nextmail.ru
Wed Jul 5 13:47:50 CEST 2006


I am from russian
and know english a
little. Please, help
me.
1. I have already
read "Ethernut
Software manual" and
manual about threads
and events. But I
don't find the
description for
function
NutDeviceGetLine().
Please, give me some
examples of using
this function.
2. I want to use LCD
display (2x16). But
it don't work. I use
this code:

#include <stdio.h>
#include
<dev/hd44780.h>
#include
<dev/term.h>
int main(void)
{
/* Register the
device we want to
use. */
NutRegisterDevice(&devLcd,
0, 0);
/* Assign the device
to stdout. */
freopen("lcd", "w",
stdout);
printf("Hello
world!\n");
}

Where is mistake?
May be, anybody
helps me with pin
connection of
Ethernut device and
display (becouse, i
don't think that I
did it right)


_______________________________________________________________________________________________
www.nextmail.ru - бесплатная почта, прикольные имена, бесплатный хостинг и файловое хранилище! 





More information about the En-Nut-Discussion mailing list