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 / TRISX(X= any port like A,B

TRISX(X= any port like A,B

|

Microcontroller › PIC › interfacing pic18f4550 with gps › TRISX(X= any port like A,B

August 3, 2015 at 4:26 am #13123
Vara Ashishkumar
Participant

TRISX(X= any port like A,B etc) is used for define output or input port.0 is define for output and 1 for define input.In your code LCD is connected with portB and you want to send some data to LCD for display purpose so it is define as output port.LATX(X = any port like A,B etc.) is output latch onto which value are written.SPBRG is used for set the baud rate for serial communication.It is all configuration register which is need to be configure as per your application.

RSS feed: Recent Posts Recent Posts

  • Speed control on power tools... October 8, 2026
  • How much does generator frequency stability matter for sensitive electrical equipment? October 7, 2026
  • Curiosity is difficult. October 6, 2026
  • On off switch hack October 6, 2026
  • DBT alternative idea October 4, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 Arrowfly 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 Arrowfly
Privacy Policy | Advertising

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