Skip to content

Commit 5582769

Browse files
Parallax91pdg137
authored andcommitted
Update a_star.py
Fixed format for notes
1 parent f4d7bf8 commit 5582769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pi/a_star.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def leds(self, red, yellow, green):
3232
self.write_pack(0, 'BBB', red, yellow, green)
3333

3434
def play_notes(self, notes):
35-
self.write_pack(24, 'B15s', 1, notes.encode("ascii"))
35+
self.write_pack(24, 'B14s', 1, notes.encode("ascii"))
3636

3737
def motors(self, left, right):
3838
self.write_pack(6, 'hh', left, right)

0 commit comments

Comments
 (0)