![]() ![]() My AppleScript ended up looking like this (Comments added for your information) Now I added in some more code to display alerts when I made things happen so I could see if it was working. Quit – Quit CoolTerm to make the window disappear.Disconnect – Close the connection to the xBee.Display alert – Display the string in an alert box for when I can not hear it cause my music is PUMPING (It does that from time to time).Say – Get my mac to read out the string to me.ReadAll – Read all the characters out of the buffer into a string.Poll – Load the information out of the buffer in to CoolTerm ready for use.Write – Write a single character to make the Arduino sample the temp and send it back to me.Connect – Connect using the settings in the file I loaded. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |