自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (1)
  • 收藏
  • 关注

原创 nRF52832 keil调试可正常工作,单独运行却无法连接蓝牙

方法如下,万用表切到蜂鸣器档,一端接地,另一端依次点每个退耦电容的地端。自己焊接的nrf52832核心板,keil开发环境,Jlink调试器,烧写examples/ble_peripheral/ble_app_buttonless_dfu/pca10040/s132/ 项目。:通过keil中的debug按钮,在线调试,运行是正常的,既能广播Nordic_Buttonless,也能connect连接。连接蓝牙时,电流增大,就不够用了,导致连接失败。:重新焊接4.7uF电容,正常能连接蓝牙了,故障排除。

2024-01-28 01:31:14 333

原创 Linux Arm获取时间的方法

上述1和2,底层似乎就是通过寄存器实现的,因为精度与直接读寄存器一致。参考下面文章,我的服务器无法编译通过这个汇编,明天试试别的机器。本身耗时约0.25us @1.4GHz。本身耗时约0.3us @1.4GHz。3.直接读ARM寄存器。

2023-03-20 23:08:21 420 1

原创 DS220j 安装gcc

介绍了如何给DS220j 安装gcc

2023-03-18 21:01:02 1184

ANN 算法 给予C语言,可用于matlab

ANN Toolbox (version 1.0, July 2008,Leilei Chen) http://homepage.fudan.edu.cn/~christmans/software/ This toolbox contains C++ files that implement the Approximate Nearest Neighbor Library (ANN) and and its utility functions in matlab. The main functions are the following. In addition, there are several demos (complie demo,kdtreedemo) that provide examples on how to use these functions. How to compile them: Because the Library is written in C++,for use in matlab you need comple it first. 1. type mex -setup at the matlab command,and choose "Microsoft Visual C++ 6.0 in C:\Program Files\Microsoft Visual Studio " as the compler. Other versions of VC haven't tried. But "Lcc-win32 C 2.4.1 in C:\MATLAB\R2007a\sys\lcc" doesn't work. 2. type mex ANNkd_tree.cpp mex ANNbd_tree.cpp mex ANNkdfr_tree.cpp at the matlab command. Compiling will complete in a few second. ANNkd_tree: create,search or free an ANNkd_tree. ANNbd_tree: create,search or free an ANNbd_tree. ANNkdfr_tree: create,search or free an ANNkdfr_tree,with distance limit. References:

2010-02-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除