Skip to content

bchall/thunderboard-btn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

thunderboard-btn

This python project reads the button press from a Silicon Labs Thunderboard REACT.

Prerequisite

  • build-essentials
  • python-dev
  • python-pip
  • python pexpect
  • bluez
  • bluez-hcidump

Setup

  1. sudo hcitool lescan
  2. Look for Thunder REACT #
  3. Copy mac address
  4. Change the mac address on line 5 in the example.py file

Run

python example.py

Button press

  • none value 00
  • SW-0 value 01
  • SW-1 value 04
  • Both value 05

To read the temperature instead of button push on line 20 change char-read-hnd to 0x002e

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages