Update of /cvsroot/firebug/fireboard/fireboard/sensors/leadtek9546
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21899
Modified Files:
UART1.nc UARTGpsPacket.nc
Log Message:
Cleaning up the wiring.
Index: UART1.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/sensors/leadtek9546/UART1.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** UART1.nc 21 Jan 2004 20:36:29 -0000 1.4
--- UART1.nc 29 Jan 2004 14:32:02 -0000 1.5
***************
*** 66,69 ****
--- 66,70 ----
* Date last modified: 6/25/02
*
+ * Simplified wiring 01/28/04 David M. Doolin
*/
***************
*** 75,84 ****
}
implementation {
! components UARTM, HPLUARTC1;
! //components UARTM, HPLUARTC;
ByteComm = UARTM;
Control = UARTM;
! UARTM.HPLUART -> HPLUARTC1;
! //UARTM.HPLUART -> HPLUARTC;
}
--- 76,86 ----
}
implementation {
!
! components UARTM,
! HPLUART1M;
ByteComm = UARTM;
Control = UARTM;
!
! UARTM.HPLUART -> HPLUART1M;
}
Index: UARTGpsPacket.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/sensors/leadtek9546/UARTGpsPacket.nc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** UARTGpsPacket.nc 5 Jan 2004 21:03:27 -0000 1.1.1.1
--- UARTGpsPacket.nc 29 Jan 2004 14:32:02 -0000 1.2
***************
*** 81,101 ****
implementation {
! components GpsPacket as Packet,
! UART1 as UART,
LedsC,
MicaWbSwitch;
! GpsCmd = Packet.GpsCmd;
! Control = Packet.Control;
! Send = Packet.Send;
! Receive = Packet.Receive;
! Packet.Leds -> LedsC;
! Packet.ByteControl -> UART;
! Packet.ByteComm -> UART;
! Packet.SwitchControl -> MicaWbSwitch.StdControl;
! Packet.PowerSwitch -> MicaWbSwitch.Switch[0];
! Packet.IOSwitch -> MicaWbSwitch.Switch[1];
}
--- 81,102 ----
implementation {
! components GpsPacket,
! UART1,
LedsC,
MicaWbSwitch;
! GpsCmd = GpsPacket.GpsCmd;
! Control = GpsPacket.Control;
! Send = GpsPacket.Send;
! Receive = GpsPacket.Receive;
! GpsPacket.Leds -> LedsC;
! GpsPacket.ByteControl -> UART1;
! GpsPacket.ByteComm -> UART1;
! GpsPacket.SwitchControl -> MicaWbSwitch.StdControl;
! GpsPacket.PowerSwitch -> MicaWbSwitch.Switch[0];
! GpsPacket.IOSwitch -> MicaWbSwitch.Switch[1];
}
+
|