-
Notifications
You must be signed in to change notification settings - Fork 60
Changed code to use sdcardio as preferred method #81
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.
This seems good. I propose changing one already existing comment.
An alternate way of writing this is to try to import sdcardio
, and if that fails, then you could decide at runtime what to do. But I think that has not been our style.
In general, only the smallest boards (M0 SAMD21) won't have sdcardio.
I should probably test this, but let me know if this looks good to you as far as formatting and documentation. Thanks! |
Looks good; I agree, it's a big enough change it's worth testing. |
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.
Looks good in any case. I will merge!
Updating https://github.com/adafruit/Adafruit_CircuitPython_DS1307 to 2.1.14 from 2.1.13: > Merge pull request adafruit/Adafruit_CircuitPython_DS1307#29 from tekktrik/main Updating https://github.com/adafruit/Adafruit_CircuitPython_GPS to 3.10.0 from 3.9.10: > Merge pull request adafruit/Adafruit_CircuitPython_GPS#80 from gamblor21/precision > Merge pull request adafruit/Adafruit_CircuitPython_GPS#81 from adafruit/sdcardio Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoTre to 1.1.11 from 1.1.10: > Merge pull request adafruit/Adafruit_CircuitPython_NeoTre#19 from caternuson/iss18 Updating https://github.com/adafruit/Adafruit_CircuitPython_Seesaw to 1.10.12 from 1.10.11: > Merge pull request adafruit/Adafruit_CircuitPython_seesaw#104 from ladyada/main Updating https://github.com/adafruit/Adafruit_CircuitPython_VC0706 to 6.0.4 from 6.0.3: > Merge pull request adafruit/Adafruit_CircuitPython_VC0706#31 from tekktrik/doc/add-motion-example > Merge pull request adafruit/Adafruit_CircuitPython_VC0706#30 from adafruit/sdcardio Updating https://github.com/adafruit/Adafruit_CircuitPython_Colorsys to 2.0.8 from 2.0.7: > Merge pull request adafruit/Adafruit_CircuitPython_Colorsys#21 from tekktrik/doc/add-missing-params Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 2.22.7 from 2.22.6: > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#173 from tekktrik/doc/use-font-protocol Updating https://github.com/adafruit/Adafruit_CircuitPython_Logging to 4.1.0 from 4.0.2: > Merge pull request adafruit/Adafruit_CircuitPython_Logging#31 from tekktrik/dev/publicize-handler-methods Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoKey to 1.0.8 from 1.0.7: > Merge pull request adafruit/Adafruit_CircuitPython_NeoKey#8 from ladyada/main Updating https://github.com/adafruit/Adafruit_CircuitPython_PYOA to 2.5.6 from 2.5.5: > Merge pull request adafruit/Adafruit_CircuitPython_PYOA#33 from adafruit/sdcardio
No description provided.