Sparki-learning

Latest version: v1.6.9

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

1.3.1

This release primary adds information on the fact that the calls to test battery level are unreliable, and the RGB LED has hardware limitations which may prevent it from working as expected.

Also, I added logic to ignore anything in the sparki robot library version number after a lower case 'r'. So, version 1.2.1 and version 1.2.1r2 should be detected as the same version number as far as the capability detection in the python library goes.

1.3.0

This version cleans up a variety of bugs and generally cleans up the libraries -- it is to be preferred above all previous versions.

Added the LCDsetColor command, which allows you to choose whether you're drawing in black or white. Setting the color to white and then drawing allows you to erase pixels

Added the drawFigure example which draws a regular polygon of n sides where n >= 3

1.2.0

This version has major fixes to the .ino code for sparki over the previous version, and should be used in favor of all other versions. Since the previous version, I switched to the newest Sparkiduino compiler, which also has upgrades from the Arduino compiler. The differences in versions freed up some storage space and allowed me to add commands to the API.

Issues fixed since the last release:
- motors() should be fixed for all users of the robot (several other commands were fixed due to the same issue)
- motors() should accept a float value for time instead of truncating to an int
- bug in setSparkiDebug() fixed
- waitForSync() should timeout sooner than it did previously

Commands added since the last release:
- EEPROMread() and EEPROMwrite() -- allow reading and writing to the EEPROM on the processor
- LCDdrawLine(), LCDdrawString(), LCDreadPixel() -- respectively, draws a line on the LCD, draws a string on the LCD, and returns True if a pixel on the LCD is colored in
- start_sync_server() and start_sync_client -- begins a server and client, respectively, to synchronize actions over the network

Known issues:
- It appears that the RGB command on the sparki is flaky when the red component is equal to the blue and green
- The battery voltage is being reported too low -- lower than it actually is. I believe this to be an issue with an underlying library

1.1.3

This is the first package I've done for outside distribution, and there were some hiccups getting everything working. The package should now install correctly using _python setup.py install_ or _easy_install sparki-learning_

I've also added commands to make synchronizing actions across multiple robots easier. See the synchronization commands for more info.

1.1.2

added a couple of experimental functions to permit easy synchronization over the network of multiple computers running their respective robots

1.1.1

This version is the first with (I hope) the capability to be easily installed using setup.py. I'm trying to get it working to install via pypi as well.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.