added an example that scans a bus for devices