
上QQ阅读APP看书,第一时间看更新
How it works...
The first line of code imports the Circuit Playground Express library. An infinite loop is then entered that will check whether push button A or push button B is being pressed in each loop iteration, and play a different pitched beep in each case for a duration of 0.2 seconds.