rs232.h

Example code for 16F819(8xx), which measures temperature via SMT160-30, shows it on LCD and communicates with RS232 (sends values of temperature to terminal) (by Petr Mervart).




// RS232 header file for source file RS232.c

#include "rs232.c"

void Send_Str( const char *string );   // sends string : Send_Str("message");
void Send_Byte(char n);                // sends 1 char
char Get_Byte();                       // recieve 1 char (Warning: wait for start bit !)
void Send_Int2(char num);              // sends 2 digits number as 2 bytes



http://www.sourceboost.com/home.html

Copyright © 2002-2006 SourceBoost Technologies