|  |   | 
| (30 intermediate revisions by the same user not shown) | 
| Line 13: | Line 13: | 
|  |  |  |  | 
|  | ==Panel Console Viewer component== |  | ==Panel Console Viewer component== | 
| − | An easy way to display the data from a console on the panel.Links toa componentthat generates console data. | + | An easy way to display the data from up to four console windows on the panel. | 
|  | + |   | 
|  | + | ==Component Source Code== | 
|  | + |   | 
|  | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DynamicTextField.fcfx FC_Comp_Source_DynamicTextField.fcfx] | 
|  | + |   | 
|  | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DynamicTextField.fcfx FC_Comp_Source_DynamicTextField.fcfx] | 
|  |  |  |  | 
|  | ==Detailed description== |  | ==Detailed description== | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  |  |  |  | 
|  |  |  |  | 
| Line 26: | Line 78: | 
|  |  |  |  | 
|  |  |  |  | 
| − | ''<span style="color:red;">No additional examples</span>''
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | ==Downloadable macro reference==
 |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''OpenFile'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Creates or opens a file ready for streaming data. If the file already exists then the contents will be deleted and the file started again from scratch. Returns 1 if file found and opened. 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 |  | 
| − | | width="90%" | Filename
 |  | 
| − | |-
 |  | 
| − | | colspan="2" |  
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:]] - 
 |  | 
| − | | width="90%" | Erase
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | 0=Append existing data, 1=Reset file data 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - 
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''NextRow'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Move to the next row in the file 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PWMDisable'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Disable a PWM output 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Range: 0-1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''I2CStart'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Put the I2C Module into Start mode 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Channel Index: Range 0 - I2C Bus Count - 1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SPITransfer'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Transfer a byte using the SPI bus 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Channel Index: Range 0 - SPI Bus Count - 1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | DataOut
 |  | 
| − | |-
 |  | 
| − | | colspan="2" |  
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''I2CReceive'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Receive a byte using the I2C bus 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Channel Index: Range 0 - I2C Bus Count - 1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:]] - 
 |  | 
| − | | width="90%" | Last
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Last byte to receive: Range 0-1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''I2CStop'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Put the I2C Module into Stop mode 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" |  
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WIFISetSSID'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Assign the SSID and password for the network you wish to connect the board to. Stores the parameters into ROM for later USB free setup. 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 |  | 
| − | | width="90%" | SSID
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Name of the network you wish to connect to 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 |  | 
| − | | width="90%" | Password
 |  | 
| − | |-
 |  | 
| − | | colspan="2" |  
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ServoDisable'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Disable a Servo output 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Range: 0-5 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SPIPrescaler'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Modify the speed of the SPI bus 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Channel Index: Range 0 - SPI Bus Count - 1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Prescaler
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Range: 0-2 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ServoEnable'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Enable a Servo output 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Range: 0-5 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ADCSample10'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Reads the voltage present on an Alanog pin as an 10-bit value range 0-1023 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | ADCChannel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Range: 0-5 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''I2CTransSend'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Sends an I2C Transaction on the selected I2C channel. Returns the number of bytes sent. 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Channel Index: Range 0 - I2C Bus Count - 1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Data
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Data to send 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
 |  | 
| − | | width="90%" | Count
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Number of bytes to send out, MS bit 0x8000 signifies no Stop if set 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
|  |  |  |  | 
|  |  |  |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + | ''<span style="color:red;">No additional examples</span>'' | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + |  | 
|  | + | ==Macro reference== | 
|  | + |  | 
|  | + | ===AppendText=== | 
|  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''I2CTransInit''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AppendText''' | 
|  | |- |  | |- | 
| − | | colspan="2" | Initialises theI2C Transaction mode with the 7-bit device address  | + | | colspan="2" | Allows the text to be appended to without overwriting any existing text.  | 
|  | |- |  | |- | 
|  | |- |  | |- | 
|  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" | Channel | + | | width="90%" | Item | 
|  | |- |  | |- | 
| − | | colspan="2" | Channel Index: Range 0- I2C Bus Count - 1  | + | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] -BYTE | + | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING | 
| − | | width="90%" | DeviceAddress | + | | width="90%" | Text | 
|  | |- |  | |- | 
| − | | colspan="2" | 7-bit Device Address  | + | | colspan="2" |   | 
|  | |- |  | |- | 
|  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" | Baud | + | | width="90%" | AppendType | 
|  | |- |  | |- | 
| − | | colspan="2" | 0=100KHz, 1=400KHz, 2=1MHz  | + | | colspan="2" | 0=Start of Text, 1=End of Text  | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | 
| Line 323: | Line 178: | 
|  |  |  |  | 
|  |  |  |  | 
|  | + | ===AssignConsoleHandle=== | 
|  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''IOSetOutputPin''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AssignConsoleHandle''' | 
|  | |- |  | |- | 
| − | | colspan="2" | Sets the selected digital pin toan output and assigns theoutput state.  | + | | colspan="2" | Assigns a specific console handle to one of the text fields.  | 
|  | |- |  | |- | 
|  | |- |  | |- | 
|  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" | Pin | + | | width="90%" | Item | 
|  | |- |  | |- | 
| − | | colspan="2" | Range: 0-17  | + | | colspan="2" | 1=Col1, 2=Col2, 3=Col3, 4=Col4  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" | [[File:]] -   | + | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE | 
| − | | width="90%" | State | + | | width="90%" | ConsoleHandle | 
|  | |- |  | |- | 
| − | | colspan="2" | Range: 0-1  | + | | colspan="2" |   | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | 
| Line 346: | Line 202: | 
|  |  |  |  | 
|  |  |  |  | 
|  | + | ===GetText=== | 
|  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ServoSetPosition8''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetText''' | 
|  | |- |  | |- | 
| − | | colspan="2" | Sets theposition as an 8-bit value  | + | | colspan="2" | Allows the selected text to be read back.  | 
|  | |- |  | |- | 
|  | |- |  | |- | 
|  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" | Channel | + | | width="90%" | Item | 
|  | |- |  | |- | 
| − | | colspan="2" | Range: 0-1  | + | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING | 
| − | | width="90%" | Position
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Range: 0-255 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] -VOID |  | 
|  | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |  | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | 
|  | |} |  | |} | 
|  |  |  |  | 
|  |  |  |  | 
|  | + | ===SetColor=== | 
|  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UARTReceive''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetColor''' | 
|  | |- |  | |- | 
| − | | colspan="2" | Receives a data byte from theUART. Recommend calling the UARTCheckRx function first to ensure data is available.  | + | | colspan="2" | Sets the selected item's color.  | 
|  | |- |  | |- | 
|  | |- |  | |- | 
|  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" | Channel | + | | width="90%" | Item | 
|  | |- |  | |- | 
| − | | colspan="2" | Channel Index: Range 0- UART Bus Count - 1  | + | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4, 5=Border  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] -BYTE | + | | width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG | 
| − | | width="90%" style="border-top: 2px solid #000;" |''Return'' | + | | width="90%" | Color | 
| − | |}
 |  | 
| − |   |  | 
| − |   |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 | + | | colspan="2" |   | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SPIInitialise'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Initialsie the SPI module ready for communications 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Channel Index: Range 0 - SPI Bus Count - 1  |  | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | 
| Line 405: | Line 245: | 
|  |  |  |  | 
|  |  |  |  | 
|  | + | ===SetText=== | 
|  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |  | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WIFIGetIP''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetText''' | 
|  | |- |  | |- | 
| − | | colspan="2" | Gets the IP address of the board. Allowsyou to setup and get theassigned address via USB before using over WIFI, Use the WIFIIsConnected first tocheck the WIFI is active.   | + | | colspan="2" | Allows the selected text to be specified.  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
| − |   |  | 
| − |   |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''I2CSend'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Transmit a byte using the I2C bus 
 |  | 
|  | |- |  | |- | 
|  | |- |  | |- | 
|  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |  | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" | Channel | + | | width="90%" | Item | 
|  | |- |  | |- | 
| − | | colspan="2" | Channel Index: Range 0- I2C Bus Count - 1  | + | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] -BYTE | + | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING | 
| − | | width="90%" | DataOut | + | | width="90%" | Text | 
|  | |- |  | |- | 
|  | | colspan="2" |   |  | | colspan="2" |   | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - 
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
| − | 
 |  | 
| − | 
 |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UARTSend'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Send a byte via the UART module 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Channel
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Channel Index: Range 0 - UART Bus Count - 1 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Data
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Data Byte to send. Range: 0-255 
 |  | 
|  | |- |  | |- | 
|  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |  | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | 
| Line 464: | Line 269: | 
|  |  |  |  | 
|  |  |  |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 | + | ==Property reference== | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PWMSetPrescaler'''
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Sets the prescaler for the PWM output 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 |  | 
| − | | width="90%" | Prescaler
 |  | 
| − | |-
 |  | 
| − | | colspan="2" |  
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 |  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
| − |   |  | 
|  |  |  |  | 
|  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |  | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | + | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PWMSetDuty8''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''   | 
|  | |- |  | |- | 
| − | | colspan="2" | Sets the duty for the PWM output 
 |  | 
|  | |- |  | |- | 
|  | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | 
|  | + | | width="90%" | Width | 
|  | |- |  | |- | 
| − | | width="10%" align="center" |[[File:Fc9-u8-icon.png]] - BYTE | + | | colspan="2" | Width of the console ripper component.  | 
| − | | width="90%" | Channel
 |  | 
|  | |- |  | |- | 
| − | | colspan="2" |Range:0-1  | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | 
|  | + | | width="90%" | Height | 
|  | |- |  | |- | 
| − | | width="10%" align="center" |[[File:Fc9-u8-icon.png]] - BYTE | + | | colspan="2" | Heigth of the console ripper component.  | 
| − | | width="90%" | Duty
 |  | 
|  | |- |  | |- | 
| − | | colspan="2" |Range:0-255  | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | 
|  | + | | width="90%" | Title Size | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" |[[File:Fc9-void-icon.png]] - VOID | + | | colspan="2" | Size applied to the title text font.  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
| − |   |  | 
| − |   |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" |'''PWMEnable''' | + | | width="90%" | Text Size | 
|  | |- |  | |- | 
| − | | colspan="2" | Enable a PWM output  | + | | colspan="2" | Size applied to the data text font.  | 
|  | |- |  | |- | 
|  | + | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | 
|  | + | | width="90%" | Number Columns | 
|  | |- |  | |- | 
| − | | width="10%" align="center" |[[File:Fc9-u8-icon.png]] - BYTE | + | | colspan="2" | Sets the maximum number of consoles that can be displayed by the component.  | 
| − | | width="90%" | Channel
 |  | 
|  | |- |  | |- | 
| − | | colspan="2" |Range:0-1  | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | 
|  | + | | width="90%" | Title Color | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" |[[File:Fc9-void-icon.png]] - VOID | + | | colspan="2" | Sets the colour of the title text.  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
| − |   |  | 
| − |   |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" |'''Initialise''' | + | | width="90%" | Text1 Color | 
|  | |- |  | |- | 
| − | | colspan="2" | Initialise thecomms to theArduino board ready for commands to be sent.  | + | | colspan="2" | Sets the colour of the data text 1.  | 
|  | |- |  | |- | 
|  | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | 
|  | + | | width="90%" | Text2 Color | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="border-top: 2px solid #000;" |[[File:Fc9-void-icon.png]] - VOID | + | | colspan="2" | Sets the colour of the data text 2.  | 
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
 |  | 
| − | |}
 |  | 
| − |   |  | 
| − |   |  | 
| − |   |  | 
| − |   |  | 
| − | ==Property reference==
 |  | 
| − |   |  | 
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 |  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" |'''Properties'''  | + | | width="90%" | Border Color | 
|  | |- |  | |- | 
|  | + | | colspan="2" | Sets the colour of the border.  | 
|  | |- |  | |- | 
| − | | width="10%" align="center" | [[File:Fc9-type-17-icon.png]] | + | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | 
| − | | width="90%" | Connect To | + | | width="90%" | Show Title | 
|  | |- |  | |- | 
| − | | colspan="2" |   | + | | colspan="2" | Decides if the title text is displayed.  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 |  | 
| − | | width="90%" | Width
 |  | 
| − | |-
 |  | 
| − | | colspan="2" | Width of theconsole ripper component. 
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
 |  | 
| − | | width="90%" | Number of lines
 |  | 
| − | |-
 |  | 
| − | | colspan="2" |  
 |  | 
|  | |- |  | |- | 
|  | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] |  | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | 
| Line 565: | Line 331: | 
|  | |- |  | |- | 
|  | | colspan="2" | Removes old data from the console viewer when starting simulation if active.  |  | | colspan="2" | Removes old data from the console viewer when starting simulation if active.  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections''' 
 |  | 
| − | |-
 |  | 
| − | |-
 |  | 
| − | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 |  | 
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations''' 
 |  | 
| − | |-
 |  | 
|  | |} |  | |} |