- Copy Step1 directory to Step2

************ Dave part **************
- Double click on Hot.dav project file
- Set Port 3 as unused otherwise you won't be able to use them for capcom6
- Configure CAPCOM6:
	Pin control: use pin CC60/1/2 as output COUT60/1/2 as output
	Timer 12 : is not used for the moment, disable it
	Timer 13 : is used for the PWM, configure it to the maximum time period
		fcpu/128, start T13, period register = 0xffff = 223ms
	Multi Channel: enable multi-channel mode
	Channels: channels 0/1/2 are used for CC6x and COUT6x
		  channel 3 is used to generate the PWM (duty cycle)
		- set channel 3 to 50% duty cycle (0x8000)
		- configure channels 0/1/2 for low side modulation, low active state:
			Mode selection: mode 3
			Modulation control for CC6x: Enable T13 modulation, Can deliver PWM, passive level is '1'
			Modulation control for COUT6x: Disable T13 modulation, Can deliver PWM, passive level is '1'
	Functions: enable CC6_vInit, CC6_vEnableShadowTransfer, CC6_vLoadChannelShadowRegister
- Save your project
- Generate code

************ Keil part **************
- Double click on Hot.dpt project file
- Modify code in UART.c RI interrupt:
				switch (command)
				{
					case 0x00: // set duty cycle
						CC6_vLoadChannelShadowRegister(CC6_CHANNEL_3,(unsigned short)value<<8);
						CC6_vEnableShadowTransfer(CC6_TIMER_13);
						break;	
					case 0x01: // set MCMOUTSL : PWM Pattern
						MCMOUTSL = value;
						MCMOUTSL |= 0x80;			// Shadow transfer request to initiate things
						break;	
				}
- Compile and download to the C868 Mini Board (take care of any other programs using serial link)

************ Docklight part **************
- Launch DockLight
- Start with a blank project
- Configure for COM1 (or any other on which the board is connected),  9600 bauds
- Add Sequence : 
	Name: Set Duty Cycle
	Sequence: 0x00, 0x40
- Add Sequence : 
	Name: Set PWM Pattern
	Sequence: 0x01, 0x37
- (Save your project into the Step2 directory) this is not possible with the evaluation version !
- Try different patterns and different duty cycles...
