Coder Social home page Coder Social logo

microbit-v2-pager's Introduction

micro:bit v2 Pager

This is a sample nRF Connect SDK application for the micro:bit v2. The one-way Bluetooth LE pager allows you to send text messages to the 5x5 LED matrix on the micro:bit v2 using your smartphone. The pager sample utilizes Nordic UART Service (NUS) available in nRF Connect SDK to receive messages through Bluetooth LE and then forward them to the 5x5 LED matrix on the micro:bit v2.

How to use:

  1. Build&flash this sample on your micro:bit v2.

  2. Using nRF Connect for Mobile:

    2.1 Scan for devices.

    2.2 Connect to micro:bit v2 Pager.

    2.3 Type your message in the Rx Characteristic box and click send.

  3. You will first hear a beep for 1.5 seconds followed by your message displayed on the micro:bit v2 5x5 LED matrix.

(Optional) micro:bit v2 interface: You could re-display the recently received message(if one exists) by pressing button B. Pressing button A will delete the recently received message.

microbit-v2-pager's People

Contributors

alinordic avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

microbit-v2-pager's Issues

devicetree error: 'pinctrl-0' is marked as required in 'properties:'

Hi, I've just installed nrfConnect and the latest toolchain nRF Connect SDK v2.4.0 and am trying to build this application in VS code. However on building I get the output below.

I'm guess that it fails because of this:

devicetree error: 'pinctrl-0' is marked as required in 'properties:' in D:/ncs/v2.4.0/zephyr/dts/bindings\pwm\nordic,nrf-pwm.yaml, but does not appear in <Node /soc/pwm@40021000 in 'D:/ncs/v2.4.0/zephyr/misc/empty_file.c'>

Any suggestions on how I get it to build?

Thanks in advance.

Jeremy

Executing task: nRF Connect: Build [pristine]: microbit-v2-pager-master/build (active)

Building microbit-v2-pager-master
C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir d:\Jeremy\nrfprojects\microbit-v2-pager-master\build d:\Jeremy\nrfprojects\microbit-v2-pager-master --pristine --board bbc_microbit_v2 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONF_FILE:STRING="d:/Jeremy/nrfprojects/microbit-v2-pager-master/prj.conf" -DDTC_OVERLAY_FILE:STRING="d:/Jeremy/nrfprojects/microbit-v2-pager-master/bbc_microbit_v2.overlay""

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: D:/Jeremy/nrfprojects/microbit-v2-pager-master
-- CMake version: 3.20.5
-- Found Python3: D:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Cache files will be written to: D:/ncs/v2.4.0/zephyr/.cache
-- Zephyr version: 3.3.99 (D:/ncs/v2.4.0/zephyr)
-- Found west (found suitable version "1.0.0", minimum required is "0.7.1")
-- Board: bbc_microbit_v2
-- Found host-tools: zephyr 0.16.0 (D:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.0 (D:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found Dtc: D:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: D:/ncs/v2.4.0/zephyr/boards/arm/bbc_microbit_v2/bbc_microbit_v2.dts
-- Found devicetree overlay: d:/Jeremy/nrfprojects/microbit-v2-pager-master/bbc_microbit_v2.overlay
devicetree error: 'pinctrl-0' is marked as required in 'properties:' in D:/ncs/v2.4.0/zephyr/dts/bindings\pwm\nordic,nrf-pwm.yaml, but does not appear in <Node /soc/pwm@40021000 in 'D:/ncs/v2.4.0/zephyr/misc/empty_file.c'>
-- In: D:/Jeremy/nrfprojects/microbit-v2-pager-master/build/zephyr, command: D:/ncs/toolchains/31f4403e35/opt/bin/python.exe;D:/ncs/v2.4.0/zephyr/scripts/dts/gen_defines.py;--dts;D:/Jeremy/nrfprojects/microbit-v2-pager-master/build/zephyr/zephyr.dts.pre;--dtc-flags;'-Wno-unique_unit_address_if_enabled';--bindings-dirs;D:/ncs/v2.4.0/nrf/dts/bindings;D:/ncs/v2.4.0/zephyr/dts/bindings;--header-out;D:/Jeremy/nrfprojects/microbit-v2-pager-master/build/zephyr/include/generated/devicetree_generated.h.new;--dts-out;D:/Jeremy/nrfprojects/microbit-v2-pager-master/build/zephyr/zephyr.dts.new;--edt-pickle-out;D:/Jeremy/nrfprojects/microbit-v2-pager-master/build/zephyr/edt.pickle;--vendor-prefixes;D:/ncs/v2.4.0/nrf/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;D:/ncs/v2.4.0/zephyr/dts/bindings/vendor-prefixes.txt
CMake Error at D:/ncs/v2.4.0/zephyr/cmake/modules/dts.cmake:276 (message):
gen_defines.py failed with return code: 1
Call Stack (most recent call first):
D:/ncs/v2.4.0/zephyr/cmake/modules/zephyr_default.cmake:115 (include)
D:/ncs/v2.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
D:/ncs/v2.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:12 (find_package)

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.