/* ** ################################################################### ** ** Filename : FreescaleUHFtransmitter.C ** ** Project : FreescaleUHFtransmitter ** ** Processor : MC68HC908RF2CFA ** ** Version : Driver 01.00 ** ** Compiler : Metrowerks HC08 C Compiler ** ** Date/Time : 21.11.2002, 17:13 ** ** Abstract : ** ** Main module. ** Here is to be placed user's code. ** ** Settings : ** ** ** Contents : ** ** No public methods ** ** ** Copyright: 1997 - 2009 Freescale Semiconductor, Inc. All Rights Reserved. ** ** ** ** http : www.freescale.com ** mail : support@freescale.com ** ** ################################################################### */ /* MODULE FreescaleUHFtransmitter */ /*Including used modules for compilling procedure*/ #include "Cpu.h" #include "UHFT1.h" #include "Inhr1.h" /*Include shared modules, which are used for whole project*/ #include "PE_Types.h" #include "PE_Error.h" #include "PE_Const.h" #include "IO_Map.h" #define NUM_BITS 24 /* 3*8 bits */ byte SndBuff[] = {0x25,0x86,0x33}; byte result; void main(void) { /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/ PE_low_level_init(); /*** End of Processor Expert internal initialization. ***/ result = UHFT1_SendBitBlock(SndBuff,NUM_BITS); /*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/ for(;;){} /*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/ } /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/ /* END FreescaleUHFtransmitter */ /* ** ################################################################### ** ** This file was created by Processor Expert 03.08 for ** the Freescale HC08 series of microcontrollers. ** ** ################################################################### */