Thread: C++ serial port microcontroller reading

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    6

    C++ serial port microcontroller reading

    Guys i just wanna ask... do you guys can teach me on how to do a program in DEV-C++ to read datas from a serial to USB cable. this cable is connected to microcontroller z8f6421...

    Links about the program is appreciated...

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    I can teach you this: Drop DevC++ and find another IDE. ( My recommendation: CodeBlocks )
    Devoted my life to programming...

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    6
    i cant drop DEV-C++, we have a program that will run in DEV-C++... the inputs of this programs are from our ADC microcontroller

  4. #4
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Dammit, this has become pandemic! My college too forced us to use DevC++. It's hilarious and frustrating at the same time!! I wonder who make those decisions. ( Obviously not a programmer )
    Devoted my life to programming...

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Use your old thread.
    microcontroller to C++
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sending '+++' to serial port
    By Andaluz in forum C Programming
    Replies: 5
    Last Post: 01-20-2011, 10:11 AM
  2. serial port to poll on request
    By infineonintern in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2009, 06:52 AM
  3. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  4. Reading and writing to a serial port
    By SwarfEye in forum C Programming
    Replies: 2
    Last Post: 08-18-2006, 12:28 AM
  5. Serial port read..can someone tell me..
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 06-27-2002, 08:21 AM