100Views3Replies

Author Options:

Would some one PLEASE write me a VERY basic python code? Answered

I have been very thoroughly FAILING at learning python, everything i can find on it is either far out of my league or doing something completely different than what i need

THIS is what i need

A single square button that when pressed sends a bit of "1" over serial to an arduino uno

nothing fancy,just a skeleton script allowing me to do that and HOPEFULLY figure this whole button concept out

and please, if you do decide to help me, please comment on the  various lines just  briefly telling what they do, so many of the codes ive looked at arn't very descriptive in their commenting.

3 Replies

user
steveastroukBest Answer (author)2012-07-20

Can you understand this page
http://sebsauvage.net/python/gui/

Select as Best AnswerUndo Best Answer

user
shabaki (author)steveastrouk2012-07-20

I think this will be very helpful, it seems to have all of what i need, thanks

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2012-07-20

Have you got pySerial installed ?

Select as Best AnswerUndo Best Answer