Jump to content

rsr232 to microcontroller (PIC) - (Moved)


Recommended Posts

Hi i need help for communication from/to PC to microchip PIC.

i need to send "ADC1xxx" (where xxx is delimiter)  to microcontroller via serial port and wait for response (with timeout)
i need to send other "commands" and waiting always a response from microcontroller.

 

can anyone help me

Yhanks so much

Link to comment
Share on other sites

  • Moderators

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • 2 weeks later...

Thanks, works.

I send command from pc and micro back the response.

But i need to know how i can retry more data (sort of protocol). Ex: if i send one command Adc1 wait for response,.adc2 wait ... etc. All work.

If i try to read all ADC, 8channel, one time and send data back  to pc i read everytime different value. 

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...