Python-Arduino-Command-API icon indicating copy to clipboard operation
Python-Arduino-Command-API copied to clipboard

Python 3 compatilbity

Open hamsolo474 opened this issue 10 years ago • 3 comments

Hey,

I have ported your excellent library to python 3 while maintaining backwards compatibility to python 2.7, I have also fixed some spelling mistakes. feel free to hit me up at [email protected] if you have any questions

hamsolo474 avatar Oct 26 '14 13:10 hamsolo474

Excellent! I'm going to give your branch a test drive a bit before merging, but I appreciate the enhancements!

thearn avatar Oct 27 '14 11:10 thearn

Hey man,

I dont know if you have had time to give my lib a thorough testing, but i have done a major update that fixes a few of the bugs in the last one, specifically in the servos class.

I have also added strict error checking which allows this api to return useful error messages, so if you try to digitalWrite(13, 'HIGH') without first setting pinMode(13, 'OUTPUT') it throws an error it will also throw errors if you try to digitalWrite(13, 'Apples'). I have added some tests to work test the new functionality.

hamsolo474 avatar Nov 01 '14 16:11 hamsolo474

Coming back around to checking this out (since Python 3 compatibility would be great), it looks like there is a conflict between our branches though. Can you resolve this?

thearn avatar Feb 05 '15 00:02 thearn