Abl-electronic PIC Microcontrollers PIC16 Manuel d'utilisateur Page 229

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 312
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 311 312

Commentaires sur ces manuels

Pas de commentaire