mikroC

making it simple...

Man_Send_Config

mikroC - C Compiler for Microchip PIC microcontrollers

Prototype

void Man_Send_Config(char *port, char txpin);

Description The function prepares PIC for sending signal. You need to specify port and txpin (0–7) for outgoing signal. Baud rate is const 500 bps.

Example

Man_Send_Config(&PORTD, 0);

Man_Send_Init

Prototype

void Man_Receive_Init(char *port);

Description The function prepares PIC for sending signal. You need to specify port for outgoing signal; txpin is pin 0 by default. Baud rate is const 500 bps.

Example Man_Send_Init(&PORTD);

Man_Send

Prototype

void Man_Send(unsigned short data);

 

 

Description

Sends one byte (data).

 

 

Requires

To use this function, you must first prepare the PIC for sending. See

 

Man_Send_Config or Man_Send_Init.

 

 

Example

unsigned short msg;

 

...

 

Man_Send(msg);

 

 

 

 

page

 

MikroElektronika: Development tools - Books - Compilers

221