课程: Machine Learning Foundations: Prototyping with Edge Impulse

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Adding LED functionality

Adding LED functionality

- [Instructor] You've run the sample sketch from the Edge Impulse Library on the development board, and you've seen output in the serial monitor showing keyword recognition. Now it's time to add some custom functionality to the sketch. For this, we'll take a small step by blinking an LED when the shield up keyword is recognized. If you're following along, make sure to download the course exercise files. To help reduce the amount of typing required, they include custom code that will help complete the prototype. Back in the Arduino IDE, we start with the same continuous microphone sketch we used before. Before we make any changes, I'm going to save a copy and call it VoiceCommander_LED. (keyboard clacking) The first change to make to this example is to import custom code from the exercise files. To do this, go to Sketch, Add File, and select the custom code from the examples. You can see that the custom code is added as another tab in our sketch. The custom code adds two useful…

内容