Jump to content

Recommended Posts

Posted

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

  • Moderators
Posted

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!

  • 2 weeks later...
Posted

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. 

  • 4 months later...
Posted

Finally i do with COM udf, i send command from autoit and picmicro get data back. I work on micro code to solve my problem..The com udf works fine

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
×
×
  • Create New...