Abl-electronic PIC Microcontrollers PIC16 Manuale Utente Pagina 229

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 312
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 228
MikroElektronika:
Development
tools
-
Books
-
Compilers
221
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
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_Config
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_Init
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);
Man_Send
Vedere la pagina 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 311 312

Commenti su questo manuale

Nessun commento