User Manual

20
4
Click this combined block. Then in the back-end system a file will be generated recording
the mapping between the words and the command. Call the .sps file.
When the file is created, the dictionary is done. Now we're ready for the hearing function.
Use Hear Blocks:
For the hearing function, blocks , , and are available.
1
Click the PiSmart category and drag these blocks from PiSmart into the scripting area:
2
Say "turn on" to the PiSmart and then click each and you can see a bubble is popped up
at the right side:
Now let's probe into details of each block:
- When the PiSmart "hears" words recorded in the .sps file, the bubble will
return true, otherwise false. So only recorded words will be heard and corresponding
result returned. For instance, in the example above, since only "turn on" and "turn off"
are recorded in the file, only when you speak these two phrases, will the command true
SunFounder