wait for button"); button.wait_for_press(None); // Make the led switch on println!("button pressed!"); led.toggle(); } } You first create a LED and a Button ...
確定! 回上一頁