Skip to content
This is the development version of the documentation. It may change before the next release. See 0.14.x for the latest release.

Clear

Clear is a command that returns the device banks and various settings to the state right after startup. All settings such as Silencer / Pattern / Modulation are reinitialized.

Clear;
use autd3_rs::commands::Clear;
use autd3_rs::geometry::{Autd3, Geometry};
use autd3_rs::Client;
use autd3_rs::udp::TransportOption;
let geometry = Geometry::new(vec![Autd3::default()]);
let option = TransportOption::default();
let mut client = Client::open(&geometry, &option).await?;
client.send(Clear).await?;