CrazyEngineers
  • writing a C++ code for reading data from uC using USB

    s32n87

    s32n87

    @s32n87-Mf1KGi
    Updated: Oct 20, 2024
    Views: 1.0K
    I am doing the project to make a microcontroller communicate with PC.
    I am facing the problem writing the C++ code for command button to ask uC to display the data in my label.
    How to write the code for C++ to get the data from the microcontroller?

    i'm using a C8051F320-dk which already have a USB connector and a RTC.

    my data will be the date, and time provided from the RTC. please help.

    thanks in advance
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • just2rock

    MemberApr 6, 2009

    .do one thing you can check codes for the EEPROM making UART work seamlessly with the 5 V supply.Check the Oscillator clock frequency for 12 Mhz .check that only with last log data as generated .If any furthur help req let us know
    Are you sure? This action cannot be undone.
    Cancel
  • s32n87

    MemberApr 8, 2009

    hmmm.. but i donnno how to write the code. thanks for replying😀😀
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register