The Serial Object |
About
The Serial Object is a freeware extension for MMF2. You may use it in both commercial and non-commercial projects at no cost and with no need to credit me (Aaron) in your application and/or documentation. I do ask however that you please always link directly to this page when providing downloads of the object as a part of any extension service. That way developers can always get the latest version.
Download
serialobj.zip | 54kb - version 1.0c |
Notes
For The Serial Object to work on Vista machines the MMF "Execution Level" settings need to be changed to "As administrator".
If you run a comparison condition with the "BytesWaiting" expression (ex: BytesWaiting > 0) and do not limit it, the serial port will not close when you run the close action. The BEST way to see if data is waiting is to use a non limited "Data is waiting" condition.
Showcase
Arduino Example
Shows the Serial Object being used in MMF2 to control the
color of an LED connected to an Arduino board. The code for this example is
included in the extension download.
Screenshots