How do i read a certain (fixed) string to an uart and read the result??

Status
Not open for further replies.
oh ok
thanks
will get back to you

---------- Post added at 09:34 ---------- Previous post was at 08:59 ----------

it has:
#include "Compiler.h"
#include "HardwareProfile.h"
#include "uart2.h"

where can i find these files?
 

uart2.h is in Microchip Solutions v2010-10-19\Microchip\Include change it to reflect UART3

for now remove the other includes and use
Code:
#include "p24Fxxxx.h"

// External oscillator frequency 
#define SYSCLK  32000000UL

// Define the baud rate constants
#define BAUDRATE2       57600
#define BRG_DIV2        16
#define BRGH2           0
set the value of SYSCLK to your processor clock and BAUDRATE2 to the baud rate you require
 
Reactions: Dasco

    Dasco

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…