Browse files

correct the handshake in the python receiver

  • Loading branch information...
1 parent cf1b0a2 commit 27fbe89f844292477f18409b1bf6493921cba6be @conch committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 receiver.py
View
2 receiver.py
@@ -8,7 +8,7 @@
ser = serial.Serial("/dev/tty.usbserial-A80090rN", 19200)
f = open("camera_data.txt", "w")
time.sleep(2) # need to wait a bit because it takes time to open serial port
-ser.write("hello") # handshake to tell Arduino to send EEPROM contents
+ser.write("hello\n") # handshake to tell Arduino to send EEPROM contents
num_of_photos = (eeprom_size / group_size) * (group_size - 1) + (eeprom_size - (eeprom_size / group_size) * group_size - 1)
for i in range(num_of_photos):

0 comments on commit 27fbe89

Please sign in to comment.