Hello guys i use mikroc for pic processors there i have lcd 4 bit
functions one function say this:
Lcd_Cmd
Prototype
*void* Lcd_Cmd(*unsigned short* command);
Returns
Nothing.
Description
Sends |command| to LCD. You can pass one of the predefined constants to
the function. The complete list of available commands is below.
Requires
Port with LCD must be initialized. See Lcd_Config <#lcd_config> or
Lcd_Init <#lcd_init>.
Example
Clear LCD display:
Lcd_Cmd(Lcd_Clear);
Available LCD Commands
LCD Command Purpose
LCD_FIRST_ROW Move cursor to 1st row
LCD_SECOND_ROW Move cursor to 2nd row
LCD_THIRD_ROW Move cursor to 3rd row
LCD_FOURTH_ROW Move cursor to 4th row
LCD_CLEAR Clear display
LCD_RETURN_HOME Return cursor to home position, returns a shifted
display to original position. Display data RAM is unaffected.
LCD_CURSOR_OFF Turn off cursor
LCD_UNDERLINE_ON Underline cursor on
LCD_BLINK_CURSOR_ON Blink cursor on
LCD_MOVE_CURSOR_LEFT Move cursor left without changing display data RAM
LCD_MOVE_CURSOR_RIGHT Move cursor right without changing display data RAM
LCD_TURN_ON Turn LCD display on
LCD_TURN_OFF Turn LCD display off
LCD_SHIFT_LEFT Shift display left without changing display data RAM
LCD_SHIFT_RIGHT Shift display right without changing display data RAM
Mikroc is free for 2kb so if someone want to test... that's very good
and not expensive
could we put something like on owfs???
like
DS2408/LCD_M/cmd
or
DS2408/LCD_H/cmd
???
as you can see LCD_CLEAR,LCD_RETURN_HOME is today implemented, but
LCD_FIRST_ROW ....
LCD_CURSOR_OFF
LCD_UNDERLINE_ON
LCD_BLINK_CURSOR_ON
LCD_MOVE_CURSOR_LEFT
LCD_MOVE_CURSOR_RIGHT
LCD_TURN_ON
LCD_TURN_OFF
LCD_SHIFT_LEFT
LCD_SHIFT_RIGHT
aren't
i didn't have one ds2408 yet, to test, i'm in brazil and onewire isn't
common here, but i'm buying someones at maxim maybe 3 months to have it :(
can we make this new file???
thanks guys ;)
sorry the poor english, i don't have anyone to talk and make it better
every day :(
good night ;)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers