Closed robyoung closed 3 years ago
Add methods to read and also verify the device ID. These are useful for quickly checking if the device is available on the bus.
You can see this done in the microbit-dal here and then used to detect which accelerometer is connected here.
Absolutely, done. I haven't had a chance to test them yet. I'll have access to a linux machine a bit later.
Ok, that should be working now.
Add methods to read and also verify the device ID. These are useful for quickly checking if the device is available on the bus.
You can see this done in the microbit-dal here and then used to detect which accelerometer is connected here.