Thread: C Serial Communication BCD

  1. #1
    Registered User
    Join Date
    Oct 2005

    Question C Serial Communication BCD

    Hi Folks,

    We have a Clock System that pumps out BCD data signal to a Serial Port RS232. Do you know any program or C Code that can read and decode this BCD data via Serial Port RS232? I have tried reading these data using HyperTerminal & Indigo Terminal but it can only read BIN/HEX/DEC/ASCII/OCT and not BCD. We need a software that can read BCD. Anyone knows?

    Thank you very much


  2. #2
    Registered Luser cwr's Avatar
    Join Date
    Jul 2005
    Sydney, Australia
    Reading data from a serial port and "decoding" BCD should be treated as two separate issues. It's not exactly difficult to convert to/from BCD. See As for serial port reading, it's platform dependent.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Duplex communication thro serial port
    By Priyachu in forum Linux Programming
    Replies: 1
    Last Post: 05-30-2009, 04:03 AM
  2. Serial port Communication
    By vin_pll in forum C++ Programming
    Replies: 23
    Last Post: 01-07-2009, 09:32 AM
  3. Serial pot communication through c program
    By vin_pll in forum C++ Programming
    Replies: 2
    Last Post: 01-01-2009, 12:52 PM
  4. Please help with serial communication problem - Long
    By spdylude in forum Windows Programming
    Replies: 3
    Last Post: 04-06-2005, 09:41 AM
  5. Serial communication packets
    By Roaring_Tiger in forum C Programming
    Replies: 3
    Last Post: 04-26-2003, 08:33 AM