Jump to content
Sign in to follow this  
ronmage

Com send and receive

Recommended Posts

ronmage

I'm really hoping i'm not double posting but i have been looking around and have not found the answer. I have the Arduino Uno, and it communicates to the USB via COM port 3. however I'm trying to use auto IT in order to send and receive data from the unit. The format of the data I send is not important, string would probably be the easiest. However I can't find any information on how to communicate over COM port 3. If anybody has a snippet of code, or can point me in the right direction it would be appreciated.

Share this post


Link to post
Share on other sites
danielcovington

look up MSCOMMLib.MSComm you can use this as an object in your script. It is for serial ports but I think The Arduino uses the usb port like a serial port

Share this post


Link to post
Share on other sites
stormbreaker

:bye: See this link:

Good luck ahead...


----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Share this post


Link to post
Share on other sites
martin

Some people on these forums have used my serial port udf with Arduino's. See my signature.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×