rs232

Minimum support for pic rs232 interface.

  1. void rs232_init()

    Configures rs232 interface in polling mode. Provides 9600 bauds communications at 16Mhz. Source code must be modified for other speeds

  2. void rs232_putchar(char c)

    Sends character c to rs232 interface when this one becomes available.

  3. char rs232_getchar()

    Waits for a character, and returns it when available. Can indefinitly block.



Alain Gibaud 2015-07-09