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

s32n87

s32n87

@s32n87-Mf1KGi Oct 20, 2024
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

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • just2rock

    just2rock

    @just2rock-DkmPtO Apr 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
  • s32n87

    s32n87

    @s32n87-Mf1KGi Apr 8, 2009

    hmmm.. but i donnno how to write the code. thanks for replying😀😀