Y
yoyowan
Guest
hello, I am fighting in order to make communicate this device with GMS :
https://blink1.thingm.com/
the device has an open source microcontroller integrated and features 2 RGB leds. It is made for making notifications.
There are several ways to drive it, and I have only managed to make it react in GMS through an external Cross-platform command-line tool for controlling blink(1) :
blink1-tool
It is the bad way because I want to make smooth color changing effects and I need to send lot of lines to the program like this (every frame) :
execute_application("C:\blink1-tool --id all -l1 --red");
execute_application("C:\blink1-tool --id all -l2 --blue");
execute_application("C:\blink1-tool --id all -l3 --red");
execute_application("C:\blink1-tool --id all -l4 --blue");
execute_application("C:\blink1-tool --id all -l5 --red");
...
However it is an open source project, there is a github with APIs for :
https://github.com/todbot/blink1
Is anyone could please drive me on the good road (I am lost with directories on github)... I am not a developer but I will dig, I just want to make this device react smoothly in GMS with an extension (and no more external calls). Thanks for reading and for future feedbacks.
https://blink1.thingm.com/
the device has an open source microcontroller integrated and features 2 RGB leds. It is made for making notifications.
There are several ways to drive it, and I have only managed to make it react in GMS through an external Cross-platform command-line tool for controlling blink(1) :
blink1-tool
It is the bad way because I want to make smooth color changing effects and I need to send lot of lines to the program like this (every frame) :
execute_application("C:\blink1-tool --id all -l1 --red");
execute_application("C:\blink1-tool --id all -l2 --blue");
execute_application("C:\blink1-tool --id all -l3 --red");
execute_application("C:\blink1-tool --id all -l4 --blue");
execute_application("C:\blink1-tool --id all -l5 --red");
...
However it is an open source project, there is a github with APIs for :
- C / C++ / Objective-C / Qt
- Java
- Processing
- Python
- Node.js
- .NET
- Ruby
- Go
- Linux kernel
https://github.com/todbot/blink1
Is anyone could please drive me on the good road (I am lost with directories on github)... I am not a developer but I will dig, I just want to make this device react smoothly in GMS with an extension (and no more external calls). Thanks for reading and for future feedbacks.