Stacker Posted July 15, 2018 Share Posted July 15, 2018 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 More sharing options...
Moderators JLogan3o13 Posted July 16, 2018 Moderators Share Posted July 16, 2018 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 More sharing options...
FrancescoDiMuro Posted July 16, 2018 Share Posted July 16, 2018 @Stacker I think that you can take a look here. Let us know Best Regards. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Stacker Posted July 25, 2018 Author Share Posted July 25, 2018 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 More sharing options...
FrancescoDiMuro Posted July 25, 2018 Share Posted July 25, 2018 Can you please do a practical example? Thanks Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Stacker Posted November 25, 2018 Author Share Posted November 25, 2018 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now