Hey, I have a question regarding how to import a file. I am using Mu-editor. Below is the code, but I do not know how to import cedargrove (highlighted). Link below is where I can download the file from but not sure how to import the file. Link:
https://github.com/CedarGroveStudios/AD ... aster/code
Circuit Python; how to import file
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Circuit Python; how to import file
Are you working with a mounted Feather M4?
You need to download the library and place the module file in /Volumes/CIRCUITPY/lib of your mounted M4.
You need to download the library and place the module file in /Volumes/CIRCUITPY/lib of your mounted M4.
Code: Select all
wget https://raw.githubusercontent.com/CedarGroveStudios/AD9833_FeatherWing/master/code/cedargrove_ad9833.py
cp cedargrove_ad9833.py /Volumes/CIRCUITPY/lib
- RainySun
- Posts: 73
- Joined: Thu Nov 18, 2021 2:55 pm
Re: Circuit Python; how to import file
Thank you. That worked!!!
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Circuit Python; how to import file
Excellent. Thank you for the confirmation that it is working now.
Please be positive and constructive with your questions and comments.