Skip to content

Bluetooth gamepad using the BBC Microbit v2 and Embassy Rust

Notifications You must be signed in to change notification settings

jamessizeland/microbit-ble-gamepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust BLE Embedded Gamepad

Overview

Demo of bringing up Bluetooth Low Energy (BLE) using Embedded Rust, by turning a BBC Microbit (nordic NRF52833) into a wireless game controller.

Prerequisites

controller

Setup

cargo install cargo-binstall # binary installer tool
cargo binstall probe-rs-tools
cargo run --release

Troubleshooting

nrf-sdc requires clang.

# Linux
sudo apt install llvm
# Windows.
choco install llvm 
# Mac
brew install llvm

Windows

Once installed, you may need to set the LIBCLANG_PATH environment variable to the directory containing libclang.dll.

  • Open the Start Menu, search for "Environment Variables," and select "Edit the system environment variables."
  • Click on "Environment Variables."
  • Under "System variables," click "New" and set:
  • Variable name: LIBCLANG_PATH
  • Variable value: The full path to the folder containing libclang.dll (e.g., C:\Program Files\LLVM\bin).
  • Click "OK" to save the changes.

About

Bluetooth gamepad using the BBC Microbit v2 and Embassy Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published