This python project reads the button press from a Silicon Labs Thunderboard REACT.
- build-essentials
- python-dev
- python-pip
- python pexpect
- bluez
- bluez-hcidump
sudo hcitool lescan
- Look for Thunder REACT #
- Copy mac address
- Change the mac address on line 5 in the example.py file
python example.py
- 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