EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / if your output is at the

if your output is at the

|

Microcontroller › PIC › serial communication using PIC18f4550 › if your output is at the

April 17, 2012 at 6:58 am #7470
faizal
Participant

if your output is at the hyperterminal:

1) check com port baud rate

2) check if the port you’re trying to connect is being used by other program.

3) check if your config bits is applied in the project setting

 

if you have access to oscilloscope:

1) probe the tx pin if its tranmitting

 

i have tested above code, and its working.

if its too hard, consider using the following built in function for mikroc:

 

char string[20];                                  //put any size here

int i=0;

USART_init(9600);                          //set baud rate, built in

for(i=0;i<sizeof(string);i++)

{

  USART_Write(string);                //transmit each character one by one

}

USART_Write(0x0d);                     //put a carriage return after finishing transmission

hope this help :)

RSS Recent Posts

  • Phone charger fix May 11, 2026
  • Phone Charger 5v to 12v May 11, 2026
  • Voltage comparator circuit verification May 10, 2026
  • What is this??? May 10, 2026
  • Why aren’t the power windows in my 2006 Volkswagen Polo 2006 working despite repairing the control unit circuit board? May 10, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise