Git Product home page Git Product logo

nrf7002_hidtask's Introduction

概述

本项目是Digikey Funpack (eetree.cn)活动的任务一实现。

SDK基于2.4.2版本实现,环境是nRF Connect SDK。

硬件板子是项目提供的nRF7002DK

使用的时候会出现一直找不到板子,需要调整vscode设置。

image-20230915101905995

编码步骤

使用blinky例程测试板子功能OK

确保编译环境和硬件环境是OK的,并且为了减少去了解板子的DeviceTree的时间。

image-20230915195901564

创建HIDS_Keyboard例程

需要将HIDS里面的代码复制到blinky项目代码中,也就是替换main.c和prj.conf。nrf的东西不要,都拿掉。

将keypad和led换成任务所需的。

注意:这个例程不直接支持nRF7002DK,所以我们主要是拿里面的代码到blinky中。

image-20230915195939038

创建HIDS_Mouse例程

前一个工作将report map和hid service改好,可以到这里再拿一些mouse实现的代码。

image-20230915200214220

一些基本信息

确认build target

Features of nRF70 Series — nRF Connect SDK 2.4.99 documentation (nordicsemi.com)

image-20230914214913852

nRF Connect SDK上手

Welcome to the nRF Connect SDK! — nRF Connect SDK 2.4.99 documentation (nordicsemi.com)

建议用其集成开发环境。自动集成到VSCode中。

Installing automatically — nRF Connect SDK 2.4.99 documentation (nordicsemi.com)

nRF7002 DK上手说明

Getting started with nRF70 Series — nRF Connect SDK 2.4.99 documentation (nordicsemi.com)

Bluetooth的Sample

Bluetooth samples — nRF Connect SDK 2.4.99 documentation (nordicsemi.com)

image-20230914215530933

nrf7002_hidtask's People

Contributors

bobwenstudy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.