Classes | Functions | Variables
ppnrespeakerdemo.porcupine_demo Namespace Reference

Classes

class  PorcupineDemo
 

Functions

def main ()
 

Variables

 COLORS_RGB
 
 driver = APA102(num_led=12)
 
dictionary KEYWORDS_COLOR
 
 power = LED(5)
 

Function Documentation

◆ main()

def ppnrespeakerdemo.porcupine_demo.main ( )

Definition at line 91 of file porcupine_demo.py.

Variable Documentation

◆ COLORS_RGB

ppnrespeakerdemo.porcupine_demo.COLORS_RGB
Initial value:
1 = dict(
2  blue=(0, 0, 255),
3  green=(0, 255, 0),
4  orange=(255, 128, 0),
5  pink=(255, 51, 153),
6  purple=(128, 0, 128),
7  red=(255, 0, 0),
8  white=(255, 255, 255),
9  yellow=(255, 255, 51),
10  off=(0, 0, 0),
11 )

Definition at line 23 of file porcupine_demo.py.

◆ driver

ppnrespeakerdemo.porcupine_demo.driver = APA102(num_led=12)

Definition at line 47 of file porcupine_demo.py.

◆ KEYWORDS_COLOR

dictionary ppnrespeakerdemo.porcupine_demo.KEYWORDS_COLOR
Initial value:
1 = {
2  'alexa': 'yellow',
3  'computer': 'white',
4  'hey google': 'red',
5  'hey siri': 'purple',
6  'jarvis': 'pink',
7  'picovoice': 'green',
8  'porcupine': 'blue',
9  'bumblebee': 'orange',
10  'terminator': 'off',
11 }

Definition at line 35 of file porcupine_demo.py.

◆ power

ppnrespeakerdemo.porcupine_demo.power = LED(5)

Definition at line 48 of file porcupine_demo.py.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20