thearn/Python-Arduino-Command-API

Bug fixes and error checking

hamsolo474 opened this issue · 0 comments

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.