parallaxinc / cyberbot

Firmware, library, and loader code for cyberbot hardware
MIT License
8 stars 0 forks source link

parallax_min_0_3.py is only library that works with current cyber:bot board firmware #9

Closed AndyLindsay closed 5 years ago

AndyLindsay commented 5 years ago

There are four files that look like library files in the cyberbot / library / folder, but only parallax_min_0_3.py works with the current firmware. It would also be nice if we could trim this folder from four library .py files to two with some indication of which one is documentation, and which one should actually be used for testing. Depending on the names that are chosen, the instructions might need to be adjusted slightly.

For the timebeing, I have been downloading parallax_min_0_3.py and renaming it to parallax before adding it to my Mu.

PropGit commented 5 years ago

@MatzElectronics - is there a reason why there are two versions of the library within the same commit? If you wanted to make an old version still easily accessible to current users/developers (without having to monkey around with Git to get to an older commit) then the best solution is using the Releases feature of our repo on GitHub.

PropGit commented 5 years ago

We'd like to clean up the /library folder to have just one logical version of the parallax*.py file (ie: v0.3, in both full and minified forms). Waiting for insight from @MatzElectronics.

PropGit commented 5 years ago

I removed the old version (0.2?) from the /library folder, keeping the v0.3 version. Renamed full source (unminified source) to _parallaxsrc.py and renamed minified source to parallax.py for ease of use in project import statements.