Manual
Table Of Contents
- 1. Introduction
- 2. FlickerLED Demo
- 3. AlarmLED Demo
- 4. AdjustLED Demo
- 5. Button Demo
- 6. SeedVoiceLED Demo
- 7. MoveBlock Demo
- 8. SeedVoiceDobot Demo
- 9. JoyStick Demo
- 10. DobotPixy Demo
- Appendix A Common Function Description
- Appendix B Installing Suction Cup Kit
- Appendix C Pixy Install and Configure Pixy
- Appendix D Vision Recognition Initialization Process
- Appendix E Multiplexed I/O Interface Description of V1 Dobot Magician
- Appendix F Multiplexed I/O Interface Description of V2 Dobot Magician
Arduino Kit Demo Description 6 SeedVoiceLED Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
15
#define BUTTON_REDPIN A0 // Interface that the red button connects to
#define BUTTON_GREENPIN A2 // Interface that the green button connects to
#define BUTTON_BLUEPIN A4 // Interface that the blue button connects to
Realization Process
Figure 6.2 shows its realization process.
NOTE
Please speak out the command Hicell to wake up the Grove speech recognizer before
using it. If successful, the LED on the speech recognizer will turn red. Then, you can
speak out the command word. If the command word is detected, the LED will turn blue.
Figure 6.2 Realization process
Critical Code Description
Before debugging this demo, please select SoftwareSerial and SmartKit library on the
Sketch > Include Library menu.
Initialization.
Program 6.2 Initialization
void setup()
{