Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

spreedated/adalight-wrapper

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donate

Adalight Wrapper

Simple wrapper written in Visual Basic .NET (.NET Framework 4.5.2)

Simple Usage: VB

Dim AdalightDevices As List(Of String) = adalight_wrapper.Adalight.GetAdalightDevices
Dim LEDCount As Integer = 50

Using Ada = New adalight_wrapper.Adalight(AdalightDevices(0), LEDCount)
	Ada.OpenConn()
	For i = 0 To LEDCount - 1
		Ada.LEDMatrix(i) = {255, 255, 255}
	Next
	Ada.Send()
End Using

C#

List<string> AdalightDevices = adalight_wrapper.Adalight.GetAdalightDevices();
int LEDCount = 50;
using (var Ada = new adalight_wrapper.Adalight(AdalightDevices[0], 50))
{
	Ada.OpenConn();
	for (int i = 0; i < LEDCount; i++)
	{
		Ada.LEDMatrix[i] = new[] { 255, 255, 255 };
	}
	Ada.Send();
}

#LEDMatrix This is an array containing the RBG (note: not RGB) information for each LED. Send RED to LED ##21 would like like this (VB example):

Ada.LEDMatrix(21) = {255,0,0}

Enjoying this?

Just star the repo or make a donation.

Donate0

Your help is valuable since this is a hobby project for all of us: we do development during out-of-office hours.

Contribution

Pull requests are very welcome.

Copyrights

Adalight Wrapper was initially written by Markus Karl Wackermann.

About

A .NET (Visual Basic) Wrapper for Adalight (Arduino)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.