From: Xavier L. <Ba...@us...> - 2010-03-07 00:06:24
|
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 80fe5918d44c802611d6240b92b308dac6bb229a (commit) from a9944f99ef133be4a4f19cb4855833c1648ef6d3 (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 80fe5918d44c802611d6240b92b308dac6bb229a Author: Xavier Lagorce <Xav...@cr...> Date: Sun Mar 7 01:02:01 2010 +0100 Adding LCD commands to PcInterface.h Implementation will follow shortly... ----------------------------------------------------------------------- Changes: diff --git a/PC_Mainboard/common/PcInterface.h b/PC_Mainboard/common/PcInterface.h index e79e8fa..bb164d1 100644 --- a/PC_Mainboard/common/PcInterface.h +++ b/PC_Mainboard/common/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 diff --git a/PC_Mainboard/python/dev/USB_Com_Layer/src/PcInterface.h b/PC_Mainboard/python/dev/USB_Com_Layer/src/PcInterface.h index e79e8fa..bb164d1 100644 --- a/PC_Mainboard/python/dev/USB_Com_Layer/src/PcInterface.h +++ b/PC_Mainboard/python/dev/USB_Com_Layer/src/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 diff --git a/PC_Mainboard/python/dev/User_Interface/PcInterface.h b/PC_Mainboard/python/dev/User_Interface/PcInterface.h index e79e8fa..bb164d1 100644 --- a/PC_Mainboard/python/dev/User_Interface/PcInterface.h +++ b/PC_Mainboard/python/dev/User_Interface/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 diff --git a/USB_Dev_Board/Firmware/PcInterface.h b/USB_Dev_Board/Firmware/PcInterface.h index e79e8fa..bb164d1 100644 --- a/USB_Dev_Board/Firmware/PcInterface.h +++ b/USB_Dev_Board/Firmware/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 diff --git a/USB_Module/Battery_Monitoring/Firmware/PcInterface.h b/USB_Module/Battery_Monitoring/Firmware/PcInterface.h index e79e8fa..bb164d1 100644 --- a/USB_Module/Battery_Monitoring/Firmware/PcInterface.h +++ b/USB_Module/Battery_Monitoring/Firmware/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 diff --git a/USB_Module/Motor_Controller/Firmware/PcInterface.h b/USB_Module/Motor_Controller/Firmware/PcInterface.h index e79e8fa..bb164d1 100644 --- a/USB_Module/Motor_Controller/Firmware/PcInterface.h +++ b/USB_Module/Motor_Controller/Firmware/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 diff --git a/USB_Module/Proximity_Sensor/Firmware/PcInterface.h b/USB_Module/Proximity_Sensor/Firmware/PcInterface.h index e79e8fa..bb164d1 100644 --- a/USB_Module/Proximity_Sensor/Firmware/PcInterface.h +++ b/USB_Module/Proximity_Sensor/Firmware/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 diff --git a/USB_Module/Robot_Interface/Firmware/PcInterface.h b/USB_Module/Robot_Interface/Firmware/PcInterface.h index e79e8fa..bb164d1 100644 --- a/USB_Module/Robot_Interface/Firmware/PcInterface.h +++ b/USB_Module/Robot_Interface/Firmware/PcInterface.h @@ -61,6 +61,7 @@ typedef struct _UP { #define CMD_TRAJ 10 ///< Transmet une trajetoire au Krobot #define CMD_MOTOR 11 ///< Gestion des moteurs #define CMD_MOTOR_TOR 12 +#define CMD_LCD 13 ///< Commande de l'afficheur LCD // CMD_GET arguments #define GET_RESET_SOURCE 0 ///< Demande au PIC la source du Reset @@ -136,6 +137,16 @@ typedef struct _UP { #define AX12_EXEC_NOW 0x00 #define AX12_EXEC_ACTION 0x01 +// CMD_LCD +#define LCD_CLEAR 0x00 +#define LCD_CURSOR_ON 0x01 +#define LCD_CURSOR_OFF 0x02 +#define LCD_BACKLIGHT_ON 0x03 +#define LCD_BACKLIGHT_OFF 0x04 +#define LCD_GOTO_POS 0x05 +#define LCD_WRITE 0x06 +#define LCD_WRITE_LINE 0x07 + // CMD_TRAJ #define TRAJ_INIT 0x00 #define TRAJ_FORWARD 0x01 hooks/post-receive -- krobot |