clear/clear.rs
1use alienrgb::{Commands, Elc};
2
3/*
4 * Copyright (c) 2025 Matteo Franceschini
5 * All rights reserved.
6 *
7 * Use of this source code is governed by BSD-3-Clause-Clear
8 * license that can be found in the LICENSE file
9 */
10fn main() {
11 let mut elc = Elc::new();
12 let status = elc.execute(&Commands::EraseFlash);
13 println!("{status:#?}");
14}