Skip to content

Commit 9dee005

Browse files
committed
Removed some unused stuff
1 parent b7b17a7 commit 9dee005

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

BrainCraft_Google_Assistant/gv_buttontotalk.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
try:
5050
import board
51-
from digitalio import DigitalInOut, Direction, Pull
51+
from digitalio import DigitalInOut
5252
import adafruit_dotstar
5353
except ImportError:
5454
print("Blinka not installed? Run 'pip3 install adafruit-circuitpython-dotstar'")
@@ -71,9 +71,6 @@
7171
)
7272
dots.fill(0x000000)
7373

74-
# Setup OLED
75-
i2c = board.I2C()
76-
7774
ASSISTANT_API_ENDPOINT = "embeddedassistant.googleapis.com"
7875
END_OF_UTTERANCE = embedded_assistant_pb2.AssistResponse.END_OF_UTTERANCE
7976
DIALOG_FOLLOW_ON = embedded_assistant_pb2.DialogStateOut.DIALOG_FOLLOW_ON

0 commit comments

Comments
 (0)