From: Jérémie D. <Ba...@us...> - 2010-03-07 23:09:13
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "krobot". The branch, master has been updated via 64de58caa3d4bfea3fb420871ae0f090080b694a (commit) from 61f9eb71c06e9e9f33994eef5a47029db8a07baa (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 64de58caa3d4bfea3fb420871ae0f090080b694a Author: Jérémie Dimino <je...@di...> Date: Mon Mar 8 00:08:11 2010 +0100 add more functions for the LCD ----------------------------------------------------------------------- Changes: diff --git a/PC_Mainboard/interface/interface.ml b/PC_Mainboard/interface/interface.ml index d260e89..c9b0c38 100644 --- a/PC_Mainboard/interface/interface.ml +++ b/PC_Mainboard/interface/interface.ml @@ -586,5 +586,49 @@ let interfaces = [ ~code:PcInterface.cmd_send ~args:[Arg("message", string)] (); + command + ~name:"clear" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_clear)] + (); + command + ~name:"cursor-on" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_cursor_on)] + (); + command + ~name:"cursor-off" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_cursor_off)] + (); + command + ~name:"backlight-on" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_backlight_on)] + (); + command + ~name:"backlight-off" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_backlight_off)] + (); + command + ~name:"goto" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_goto_pos); + Arg("x", uint8); + Arg("y", uint8)] + (); + command + ~name:"write" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_write); + Arg("message", uint8)] + (); + command + ~name:"write-line" + ~code:PcInterface.cmd_lcd + ~args:[Cst(uint8, PcInterface.lcd_write_line); + Arg("message", uint8)] + (); ]); ] hooks/post-receive -- krobot |