Component: Serial Monitor (Runtime Tools)
Author | Matrix Ltd |
Version | 1.0 |
Category | Runtime Tools |
Contents
Serial Monitor component
Allows data from a COM port to be piped through to the console window for easy program status and debugging.
Component Source Code
Please click here for the component source code: FC_Comp_Source_Serial_Monitor.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Here is a simple example showing how to pass data from a device such as an Arduino back into Flowcode for debugging purposes. The example is designed to run on an Arduino Uno R3 with an LED connected to pin D2 and a potentiometer connected to pin A0. The program loops switching the LED on and off and reporting the status to the console, the ADC is also sampled as a voltage string and this is also passed back to the console.
The incoming data can be seen on the Flowcode console even when the simulation is not running.
Outgoing data can be sent back to the embedded hardware by typing data directly into the RX Queue tab of the console.
Macro reference
![]() |
SetProp |
Allows the COM port property to be set from a parent component. | |
![]() |
PropName |
![]() |
PropVal |
![]() |
Return |
![]() |
GetProp |
Allows the property filter for the COM port list to be copied to a parent component. | |
![]() |
PropName |
![]() |
Return |