Thread
:
Sending tuples via bluez?
View Single Post
McLightning
2009-11-28 , 13:40
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#
6
i tried this but it didn't work too
client:
socket.sendall('x'+str(a))
e32.ao_sleep(1)
socket.sendall('y'+str(b))
e32.ao_sleep(1) ##waits for a second
on server:
if incomingdata[0]=='x': a=int(incomingdata[1:len(incomingdata)])
if incomingdata[0]=='y': b=int(incomingdata[1:len(incomingdata)])
__________________
Mplayer Full ShortCut List
http://www.keyxl.com/aaa2fa5/302/MPl...-shortcuts.htm
Mclightning.com
DegCal - Right Triangle Degree Calculator
Quote & Reply
|
McLightning
View Public Profile
Send a private message to McLightning
Find all posts by McLightning