Skip to content

Commit 8b6134d

Browse files
authored
Merge pull request #2395 from adafruit/rocket_update
updating white noise rocket
2 parents 46f5440 + 1301162 commit 8b6134d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: White_Noise_Rocket/code.py

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
enable.direction = digitalio.Direction.OUTPUT
2020
enable.value = True
2121

22+
# enable fan pin
23+
fan_pin = digitalio.DigitalInOut(board.D11)
24+
fan_pin.direction = digitalio.Direction.OUTPUT
25+
fan_pin.value = True
26+
2227
# speaker pin on the propmaker
2328
audio = AudioOut(board.A0)
2429
# create mixer instance

0 commit comments

Comments
 (0)