arvydas / blinkstickdotnet Goto Github PK
View Code? Open in Web Editor NEWBlinkStick .NET interface to control devices connected to the computer
License: GNU General Public License v3.0
BlinkStick .NET interface to control devices connected to the computer
License: GNU General Public License v3.0
When i use Blinkstick in a Windows Forms app, i get the following error, as soon as i have this line of code.
I'm inserting/removing a usb-headset to test this. Happend with all types of usb i have here.
led = BlinkStick.FindFirst();
System.OverflowException
HResult=0x80131516
Nachricht = Arithmetic operation resulted in an overflow.
Quelle = System.Private.CoreLib
Stapelüberwachung:
bei System.IntPtr.ToInt32()
bei LibUsbDotNet.DeviceNotify.WindowsDeviceNotifier.OnDeviceChange(Message& m)
bei LibUsbDotNet.DeviceNotify.Internal.DevNotifyNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
When it's ready, it would be nice to consume the library via nuget.org
Hi,
I am using BlinkStickDotNet.dll as a managed plugin in Unity after switch the framework to 3.5 from 4.0(as Unity won't support beyond 3.5).
The problem is that the tool is crashing whenever the methods like "FindAll" or "FindBySerial" are being called at runtime. In the crash log it is mentioned-"Native extension for WindowsStandalone target not found".
Moreover, whenever trying to build an executable file, i get the message-"ArgumentException: The Assembly System.Windows.Forms is referenced by BlinkStickDotNet ('Assets/Plugins/BlinkStickDotNet.dll'). But the dll is not allowed to be included or could not be found."
Note-For now , I am not using any BlinkStick device but just checking the presence/absence of the device with the help of serial number or "FindAll".
I just tried out the setColors() method and got a bit confused at first.
After looking in the wiki i saw that the order you have to use in the color frame was GRB instead of RGB and i wondered if it could be possible to change it to RGB to make the programming a bit more comfortable.
When building, getting an error message.
Error 1 Assembly generation failed -- Referenced assembly 'LibUsbDotNet' does not have a strong name HidSharp
Error 6 Metadata file 'C:\Users***\Desktop\BlinkStickDotNet-master\Components\bin\HidSharp.dll' could not be found BlinkStickDotNet
Hi, I am running BlinkStick Square with a WPF application.
When I call the TurnOff() method on application exit, it does not have any effect.
While TurnOff() does work anywhere else I call it when the app is in a normal state.
Is there any suggested solution?
It's a little bit annoying, since when the app is running it has set some color, and when the app closes, it still has this color until one unplugs or starts the app again :D
Hi @arvydas ,
Is the .net library still supported?
I thinking to use in a personal project and I would like to create a few simple pull requests to upgrade this library to the latest .net versions.
Best regards,
Gitii
Needs to take into account the device and number of LEDs connected.
Hello,
For those interested my .NET 6.0 version is available here:
https://github.com/pnadm/BlinkStickNET
It's a cleaned and slimmed down solution, but the original lib code is left untouched.
You can use that until we hear from the original author.
Sincerely,
- The Administrator.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.