Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
 
  • Like
Reactions: Dasco

    Dasco

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

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top