Difference between revisions of "Component: LED Cube (Misc Circuit)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Ben Rowland 2014 |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="colo...") |
|||
Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 530: | Line 534: | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | LEDs | ||
|- | |- | ||
|- | |- | ||
Line 577: | Line 585: | ||
| colspan="2" | Number of micro seconds to wait between switching off the driver and clocking out the new signals. Used to remove any ghosting effects visible on the display due to slow driver switch off times. | | colspan="2" | Number of micro seconds to wait between switching off the driver and clocking out the new signals. Used to remove any ghosting effects visible on the display due to slow driver switch off times. | ||
|- | |- | ||
− | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections |
|- | |- | ||
|- | |- | ||
Line 596: | Line 604: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation |
|- | |- | ||
|- | |- |
Latest revision as of 17:27, 9 November 2022
Author | Ben Rowland 2014 |
Version | 1.0 |
Category | Misc Circuit |
Contents
LED Cube component
LED Cube component for driving 3D arrays of LEDs. A typical cube could consist of 4x4x4 or 8x8x8 but does not necessarily need to be a cuboid.
Component Pack
BASICIO
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
Clear |
Clears the contents of the display to 0x0000 | |
![]() |
SwitchBuffers |
0=DoNotSwitch 1=SwitchAutomaticallyWhenDone | |
![]() |
Return |
![]() |
RotateShellXZ |
Shifts the contents of the display by the number of vertices specified | |
![]() |
Direction |
![]() |
Shell |
![]() |
Return |
![]() |
RotateShellXY |
Shifts the contents of the display by the number of vertices specified | |
![]() |
Direction |
![]() |
Shell |
![]() |
Return |
![]() |
DrawLine |
Draws a basic 3D line onto the LEDs | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Z1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Z2 |
![]() |
Colour |
![]() |
SwitchBuffers |
![]() |
Return |
![]() |
RotateShellYZ |
Shifts the contents of the display by the number of vertices specified | |
![]() |
Direction |
![]() |
Shell |
![]() |
Return |
![]() |
ConvRGBToColour |
Converts RGB values into a single UINT colour parameter to use with other functions. | |
![]() |
Red |
![]() |
Green |
![]() |
Blue |
![]() |
Return |
![]() |
ConvColourToRGB |
Reads the individual RGB colour values from a single UINT colour value. Return Index: 0=Red, 1=Green, 2=Blue | |
![]() |
Colour |
![]() |
Return |
![]() |
GetColour |
Reads the colour value from a single pixel in the active buffer as a 16-bit value. Bits 0-4 = Red Bits 5-10 = Green Bits 11-15 = Blue | |
![]() |
X |
![]() |
Y |
![]() |
Z |
![]() |
Return |
![]() |
ResetRotations |
Resets the rotation count variables allowing for a new rotation to be started | |
![]() |
Return |
![]() |
Initialise |
Sets up the data memory and draws the simulated LED cube on the panel. | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
LEDs |
![]() |
Width (X) |
The number of LEDs wide | |
![]() |
Depth (Y) |
The number of LEDs deep | |
![]() |
Height (Z) |
The number of LEDs tall | |
![]() |
LED Count |
Number of LEDs required by the component | |
![]() |
LED Type |
![]() |
Common Type |
![]() |
Wiring Order |
Specifies the order of the wiring of the LEDs from lowest bit to highest | |
![]() |
Driver Pre Delay |
Number of micro seconds to wait between switching off the driver and clocking out the new signals. Used to remove any ghosting effects visible on the display due to slow driver switch off times. | |
![]() |
Driver Post Delay |
Number of micro seconds to wait between switching off the driver and clocking out the new signals. Used to remove any ghosting effects visible on the display due to slow driver switch off times. | |
![]() |
Connections |
![]() |
Clock Pin |
File:Fc9-type-19-icon.png | Data Port |
File:Fc9-type-19-icon.png | Enable Port |
![]() |
Simulation |
![]() |
LED Size |
Size of each LED on the panel | |
![]() |
Spacing |
Number of units of spacing between each LED | |
![]() |
Transparent |
If set to yes then a LED which is completely switched off will be set to transparent, If set to no then the LED will be shown as black. | |
![]() |
Toggle Pins |
Determines if the pins are toggled as part of the PWMTimer macro during simulation. During simulation you probably don't want the pins toggling as it will slow down simulation. The only exception may be if you want to see the signals in the scope window. Does not effect the compiled embedded code. |