-
Notifications
You must be signed in to change notification settings - Fork 17
Added examples folder and an example .py #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment and feel free to merge after. Thanks!
examples/read_directory.py
Outdated
isdir = stats[0] & 0x4000 | ||
|
||
if filesize < 1000: | ||
sizestr = str(filesize) + " by" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd probably have bytes be B
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i fixed it and will merge it.
Updating https://github.com/adafruit/Adafruit_CircuitPython_FXAS21002C to 1.0.0 from 0.8.0: > use struct when available, list comp instead of map() (adafruit/Adafruit_CircuitPython_FXAS21002C#2) Updating https://github.com/adafruit/Adafruit_CircuitPython_FXOS8700 to 1.0.0 from 0.8.0: > use struct when available, change map() to list comp (adafruit/Adafruit_CircuitPython_FXOS8700#4) Updating https://github.com/adafruit/Adafruit_CircuitPython_HT16K33 to 2.0.0 from 1.0.2: > Merge pull request adafruit/Adafruit_CircuitPython_HT16K33#1 from tannewt/lint Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel to 3.1.0 from 3.0.1: > Merge pull request adafruit/Adafruit_CircuitPython_NeoPixel#21 from mrmcwethy/examples Updating https://github.com/adafruit/Adafruit_CircuitPython_PCA9685 to 3.0.0 from 2.0.1: > Fix up ReadTheDocs. (adafruit/Adafruit_CircuitPython_PCA9685#9) > Huge refactor, switch to PWMOut compatible API. (adafruit/Adafruit_CircuitPython_PCA9685#8) Updating https://github.com/adafruit/Adafruit_CircuitPython_SD to 3.1.0 from 3.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_SD#5 from mrmcwethy/examples Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1306 to 2.2.0 from 2.1.0: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#8 from dhalbert/master > add bouncing ball example (adafruit/Adafruit_CircuitPython_SSD1306#6) Updating https://github.com/adafruit/Adafruit_CircuitPython_SimpleIO to 1.0.1 from 1.0.0: > Changes to the tone function (adafruit/Adafruit_CircuitPython_SimpleIO#24) > Make lint happy > handle reversed range on output
#adafruit/circuitpython#493