Barry Byford is a bit of a Bluetooth nut and he has turned his attention to the micro:bit and its Bluetooth interface. In this example (in the video above) he shows us how a micro:bit button press can be detected by the Raspberry Pi and then used to trigger LEDs on the Ryanteck Traffic HAT. Details of the code and how to do it are contained in the YouTube description here.
I have followed the instructions, but I keep getting told it can’t import from bluezero. Have I missed something?
Hi Cosma. Message from Barry:
Sounds like they are either in the wrong directory or haven’t got their PYTHONPATH set
If you need to get further support, or talk to Barry, best way to do it is to open up a Github issue on the repository:
https://github.com/ukBaz/python-bluezero
Hope this helps.
—
Mike