pico-device

PicoDevice implementation for Pico Technology oscilloscope drivers.

This is a sub crate that you probably don't want to use directly. Try the top level pico-sdk crate which exposes everything from here.

When a PicoDevice is created, it is opened, its channels and capabilities are automatically detected and then it is closed.

Example

```rust use picocommon::Driver; use picodriver::LoadDriverExt; use pico_device::PicoDevice;

// Load the required driver let driver = Driver::PS2000.try_load()?;

// Try and load the first available ps2000 device let device1 = PicoDevice::try_load(&driver, None)?;

// Try and load devices by serial let device2 = PicoDevice::tryload(&driver, Some("ABC/123"))?; let device3 = PicoDevice::tryload(&driver, Some("ABC/987"))?; ```

License: MIT