This project is a demo for using the DOT-NET-COMS-LIB for interacting with multiple Hexabitz modules where we will interact with the Hexabitz RGB LED module and Hexabitz Solid State Relay module using windows form application built using C# programming language.
The application contains a tabbed window each tab include a module and the controls to interact with it as shown below:
and as we can see in contains the COM, Baud Rate, Destination and Source options to connect with the selected module after knowing the topology for them.
Hexabitz modules circuit:
The following code represents when the LED Toggle button is pressed, as we send the destination, source, code, and Payload array to the DOT-NET-COMS-LIB (HexInter) and the Code is selected to CODE_H01R0_COLOR which is included in the Payload array in the correct ordering.
Here is when the Red Trackbar control is scrolled as we can see, we are resending the values every time one of the trackbars is scrolled.
You can find the code and it's full documentation in our Github repository
Here is a video demonstrating the software:
Comments