Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
If you are using the free tools provided by Microchip, it will have installed HI TECH C Compiler, if not you can download it from the MCHIP website.
Anyways, once it has been installed you can find UART code here:
C:\PROGRAM FILES\HI-TECH Software\PICC\LITE\X.XX\samples\usart
X.XX on my machine is 9.60
ive got the code from the same place but i dont know if my circuit is wrong can you send me the circuit diagram m have used MAX232CPE chip i gave it +5 v Supply do you think its ok. or i have to supply +15v to it? can you please show me the cuircuit
Yes, the MAX232 is supplied +5V. You also need to connect 4 capacitors to it. Do a Google image search and you'll see all the connection diagrams you could hope for.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.