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

  • What is involved to convert a small town to fiber optic? December 12, 2025
  • Droplet1 December 12, 2025
  • EEPROM not being written or read on dsPIC30F2010 December 12, 2025
  • 12VDC ( 10 - 24 V ) to 0 to +/- 30VDC 1A dual tracking psu - for sale December 11, 2025
  • volkswagen car stereo model rcd310 December 11, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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