led

Logitech's LED Illumination SDK is not working with my G502

a 夏天 提交于 2021-02-10 05:06:45
问题 I'm trying to get Logitech's own LED SDK working with my G502, but I can't. I'm using SDK version 8.82.7, which is, as of now, the most recent version. I also couldn't find anything on SO or the rest of the internet, so I'm asking here. Here's my LogitechGSDK.cs: using System; using System.Collections; using System.Runtime.InteropServices; namespace LogiRGB { public enum KeyboardNames { ESC = 0x01, F1 = 0x3b, F2 = 0x3c, F3 = 0x3d, F4 = 0x3e, F5 = 0x3f, F6 = 0x40, F7 = 0x41, F8 = 0x42, F9 =

Logitech's LED Illumination SDK is not working with my G502

筅森魡賤 提交于 2021-02-10 05:06:21
问题 I'm trying to get Logitech's own LED SDK working with my G502, but I can't. I'm using SDK version 8.82.7, which is, as of now, the most recent version. I also couldn't find anything on SO or the rest of the internet, so I'm asking here. Here's my LogitechGSDK.cs: using System; using System.Collections; using System.Runtime.InteropServices; namespace LogiRGB { public enum KeyboardNames { ESC = 0x01, F1 = 0x3b, F2 = 0x3c, F3 = 0x3d, F4 = 0x3e, F5 = 0x3f, F6 = 0x40, F7 = 0x41, F8 = 0x42, F9 =

Logitech's LED Illumination SDK is not working with my G502

一笑奈何 提交于 2021-02-10 05:05:52
问题 I'm trying to get Logitech's own LED SDK working with my G502, but I can't. I'm using SDK version 8.82.7, which is, as of now, the most recent version. I also couldn't find anything on SO or the rest of the internet, so I'm asking here. Here's my LogitechGSDK.cs: using System; using System.Collections; using System.Runtime.InteropServices; namespace LogiRGB { public enum KeyboardNames { ESC = 0x01, F1 = 0x3b, F2 = 0x3c, F3 = 0x3d, F4 = 0x3e, F5 = 0x3f, F6 = 0x40, F7 = 0x41, F8 = 0x42, F9 =

Led Matrix Arduino

青春壹個敷衍的年華 提交于 2021-01-29 03:10:01
问题 I am not an electrical engineer, however I am putting together an Arduino Nano Led Matrix 40x20 Led grid, I was wondering what power supply I should use so everything works properly without destroying anything. This is what was recommended for a 10x10 grid. 5V 4A Power Supply: http://amzn.to/1UhdJfB I will also be using WS2812B LEDs if that makes any difference. Also if you know a good software to make the led animations that would be great too, the software I have is limiting. 回答1: According

ACR122U LED controlling

蓝咒 提交于 2020-08-03 09:20:12
问题 Does anybody have any clue how to control the bi-color LED of ACR122U via the method Reader.control() on Android? (library acssmc-1.1.3). I am reading the API and have no idea what the command description means: Example: byte[] command = {(byte) 0xFF, (byte) 0x00, (byte) 0x40, (byte) 0b01110111, (byte) 0x04, (byte) 20, (byte) 30, (byte) 3, (byte) 2}; These things I do not understand: Byte 3 (P2): I cannot figure out how to set that up. Byte 5 (T1): First cycle state duration that is somehow

Cubieboard1显示DS18B20温度信息到LED

旧时模样 提交于 2020-04-10 22:30:49
Cubieboard1的内核已经支持w1温度传感器DS18B20 (依赖的内核选项和模块包括dallas's 1-wire support, gpio_sunxi, w1_sunxi, w1_gpio, w1_slave_therm )。 下图的DIY是在8位8段LED显示模块上同时显示当前时间和气温的实验。 jarry大侠在很久前的帖子( http://forum.cubietech.com/forum.php?mod=viewthread&tid=474 )中介绍了DS18B20在cubieboard1上的使用,现在已经不需要打补丁或者另外编译内核模块了。只要按内核配置的说明改好script.bin即可: 本例中的script.fex相关设置如下: [gpio_para] gpio_used = 1 gpio_num = 31 ... gpio_pin_28 = port:PB10<0><default><default><0> gpio_pin_29 = port:PB11<1><default><default><default> gpio_pin_30 = port:PB13<1><default><default><default> gpio_pin_31 = port:PH07<1><default><default><default> [w1_para] gpio

在Cubieboard上通过GPIO成功点亮第一个LED【My first step on G...

一世执手 提交于 2020-04-10 22:26:17
如果你不知道什么是Cubieboard,点这里。 GPIO是干嘛的?你能看到的就是那96个pin针脚,可以用来:外接其他外设或传感器,比如LED灯,步进电机,继电器,温度传感器,红外传感器,超声波传感器等。 理论上,51开发板上的针脚能实现的,cubieboard都能实现。 我折腾了很多天、很多个内核之后,终于迈出了第一步,成功点亮了一个LED灯。 正面 看看引脚 控制输出电平 简单的说一下步骤: 首先要编译与你内核版本对应的sun4i-gpio.ko驱动(我同时也编译了uImage),我的内核版本是3.0.57+ 将编译好的驱动放到SD卡上rootfs分区的/lib/modules/3.0.57+(换为你的内核版本)/kernel/drivers/misc/sun4i-gpio.ko 然后修改script.bin,转为script.fex,添加gpio_para配置段,然后转回script.bin,放到SD卡第一个分区,覆盖script.bin(我同时也将uImage给替换了,应该不改uImage也可以) gpio_para配置如下(只是测试,没把所有的针脚都加进来): [gpio_para] gpio_used = 1 gpio_num = 4 gpio_pin_1 = port:PG00<1><default><default><default> gpio_pin_2 =

Permanently enable and disable blinking LED notification light in android programmatically

烈酒焚心 提交于 2020-01-13 14:53:07
问题 I have been looking for the ability to disable and enable the LED notification light through code. I saw this thread Disable/enable notification led, but it is quite old and I was wondering if the new API versions has some support for turning it off completely. 回答1: I was wondering if the new API versions has some support for turning it off completely You cannot enable or disable the LED behavior through the Android SDK, except within your own app, where you control what any Notification does

Android Notification LED doesn't use my Color

て烟熏妆下的殇ゞ 提交于 2020-01-12 05:31:07
问题 I'm trying to use a Notification that also uses the Notification LED on my S3, but for some reason the color will always be blue (I guess it's the default?). I tried to use different colors but nothing changes. Other apps (like Whatsapp, Gmail and Facebook have no problems with showing a different color light). Notification.Builder noteBuilder = new Notification.Builder(context) .setAutoCancel(true) .setPriority(Notification.PRIORITY_DEFAULT) .setSmallIcon(R.drawable.ic_launcher)

Morse Code via iPhone LED

霸气de小男生 提交于 2020-01-11 11:32:46
问题 I have coded an App that can convert normal Text like : "Hello my Name is XY" into points and strokes ( ..-. ; --.- ; . ; - ; etc etc) Now I want to Convert these points and stroke into light flashes with the lenght of 0.3 sec for points an 0.6 seconds for strokes. also there is a pause with the length of a point after each point or stroke, a double pause after each Word, and a tripple pause/break after each sentences. The breaks are also implied into my code. The problem is now that the