Jump to content
43oh

Leaderboard

Popular Content

Showing content with the highest reputation on 11/19/2010 in Posts

  1. OCY

    Receive only uart?

    I wrote 4 little procedures. You can cut them down easily. For example, you may not need "set_baud" nor "auto_baud". And you may only need "getchar" or "putchar". /******************************************************************************* * Sub-Standard I/O for LaunchPad Board * * OCY Nov 2010 * *******************************************************************************/ #include #define RXD BIT2 #define TXD BIT1 int baud_divider = 104; /* default for 9600 b/s @ SMCLK = 1 MH
    2 points
×
×
  • Create New...