lotlab / nrf51822-keyboard Goto Github PK
View Code? Open in Web Editor NEWa simple G84-4100 ble keyboard with nrf51822. For nrf52, see nrf52-keyboard.
License: Other
a simple G84-4100 ble keyboard with nrf51822. For nrf52, see nrf52-keyboard.
License: Other
最小系统按照源码编译完成后,蓝牙连接电脑成功,但是最终显示驱动故障(蓝牙低功耗HID设备未启动);连接手机的话可以配对,但是无法正常连接成功。
main.c中
nrf51822-keyboard/main/ble/main.c
Line 363 in 9ccda83
Keil中设置xtal频率为12,16也均不行。
求解。
Hello, is the RGB implementation for only one LED at the moment?
Would a per key RGB implementation work?
出现这个提示是什么意思?
....\keyboard\config.h(26): error: #35: #error directive: PLEASE SPECIFIC ONE KEYBOARD, BLE4100 or BLE60
我手上已经在用一个网友做的一个,也是用 nrf51822。
我的PCB已经打板回来了,昨天焊接测试(只焊接了蓝牙部分,锂电池充电也暂时没焊接),调整后没有什么问题了。
我想问问,因为我用的其他的蓝牙模块,不是NRF51822-02这个主控。连接到电脑后,能显示电量为98%,但是从昨天中午待机到现在,电量显示还是98%,接其他我未提前充满电的电池的话,会显示为35%。
我想问下:这个方案的蓝牙待机时间能达到多长时间?感觉如果电量显示没有错,那待机也太强悍了(我现在用的1350mah/6Wh的手机锂电池)
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
compiling keymap_storage.c...
....\keyboard\keymap_storage.c(2): error: #5: cannot open source input file "keymap.h": No such file or directory
#include "keymap.h"
....\keyboard\keymap_storage.c: 0 warnings, 1 error
"....\keyboard\keymap_storage.c" - 1 Error(s), 0 Warning(s).
当通过USB连接到电脑后,二合一按键有问题:
如设置FN1键为长按不放是LALT键,短按是方向左,在蓝牙模式下工作良好。如果采用USB连接的话,会出现短按方向键没有输出。如果短按激活能输出后,再次短按就不会出现问题。
也就是USB模式下至少需要短按两次,才会激活方向键左,但是短按两次只输出一个方向键左,第一次仅仅激活了短按功能。蓝牙模式下,短按一次就会输出一次方向键左,短按两次就是输出两次方向键左。
二合一键设置参看这里:
就是点按是出键值,长按是fn,这个功能比较实用。
我还在通读代码。
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.