Skip to content

Commit af16d20

Browse files
2 parents 0c72e3e + a643ac1 commit af16d20

13 files changed

Lines changed: 1128 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from adafruit_circuitplayground.express import cpx
2+
3+
while True:
4+
if cpx.button_a:
5+
cpx.play_file("rise.wav")
6+
if cpx.button_b:
7+
cpx.play_file("dip.wav")
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from adafruit_circuitplayground.express import cpx
2+
3+
while True:
4+
if cpx.button_a:
5+
cpx.play_tone(260, 1)
6+
if cpx.button_b:
7+
cpx.play_tone(292, 1)

Adafruit_STEMMA_Speaker/dip.wav

25.9 KB
Binary file not shown.

Adafruit_STEMMA_Speaker/rise.wav

25.7 KB
Binary file not shown.

M4_Eyes/eyes/skull/config.eye

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"voice" : false,
3+
"pitch" : 0.72,
4+
"gain" : 1.2,
5+
"eyeRadius" : 120,
6+
"irisRadius" : 70,
7+
"slitPupilRadius" : 0, // 60
8+
"eyelidIndex" : "0x00", // From table: learn.adafruit.com/assets/61921
9+
"pupilColor" : [ 0, 0, 0 ],
10+
"pupilMin" : 0.1,
11+
"pupilMax" : 0.25,
12+
"backColor" : [ 0, 0, 0 ],
13+
"irisTexture" : "skull/iris_red.bmp",
14+
"scleraColor" : [ 0, 0, 0 ],
15+
"scleraTexture" : "skull/dark-sclera.bmp",
16+
// "upperEyelid" : "demon/upper.bmp",
17+
// "lowerEyelid" : "demon/lower.bmp",
18+
"tracking" : true
19+
// "lightSensor" : 102,
20+
// "left" : {
21+
// "irisSpin" : -18
22+
// },
23+
// "right" : {
24+
// "irisSpin" : 18
25+
// }
26+
}

M4_Eyes/eyes/skull/dark-sclera.bmp

234 KB
Binary file not shown.

M4_Eyes/eyes/skull/iris_red.bmp

192 KB
Binary file not shown.

0 commit comments

Comments
 (0)