From: yipiha <yip...@gm...> - 2008-08-04 14:28:33
|
Sorry the function C "system" not exec yipiha wrote: > > > Ok usleep-drv and usleep-test works in the gumstix > > How do you implement the usleep in the lcd-hal-avr.c ? shall i use the > function C "exec" ? > > and i have one more question, in the function LCD_HAL_E_Pulse. > > the E need to be High for 230 milli second, not nano second ? > > thanks > > > yipiha wrote: >> >> Hi dave and thank >> >> >> If I understood I must as a first step: >> >> usleep compile copy the result in 2.6.21gum / ... >> make a modprobe module compiled and depmod >> >> and functions of usleep are available? >> >> then call "exec" function usleep in lcd-hal-avr.c, and it's all ? >> >> >> Dave Hylands wrote: >>> >>> >>> No - the -drv.c files are the kernel module files. You'll need to >>> compile and build the kernel module. You would use a few lines from >>> the usleep-test.c file (which is the user-mode file). You need to open >>> /dev/usleep and do the ioctl in place of the delays. >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/LCD-2x16-characters-on-a-breakout-gs-tp18707346p18812350.html Sent from the Gumstix mailing list archive at Nabble.com. |