Serial data, simple example

Posted on 2005-05-11
Last Modified: 2010-04-16
I am going to learn how to communicate via serial port to a pic microcontroller. In VB6 I know there was a way of just dropping a control on to the form and sending data to it which in turn outputs it to the serial port. Could you tell me if such a control exists in C#, how I can use it preferably with examples. I am very new to this so please bear with me!
Question by:jdav3579
    LVL 37

    Accepted Solution

    Yes there is ... this functionality is built into 2.0 but I assume you are still using 1.1.... includes a library for serial i/o in managed code (1.1) and also includes an example app of how to use it.



    Author Comment

    Do you think moving away from serial communication to something like USB is the way to go, does C# have any functions to deal with USB communication easily?
    Another concern is if I can program a PIC microcontroller to deal with it. I know the data transfer rate is significantly higher in USB than the speed most pics run at. I am aware though there are new pics that can do it, But I dont know how hard it will be!
    I am currently trying to find information about USB communication.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
    In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now