Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Circuit Python; how to import file
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Circuit Python; how to import file

by RainySun on Mon Nov 22, 2021 8:51 pm

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

Capture.PNG
Capture.PNG (18.29 KiB) Viewed 990 times

RainySun
 
Posts: 35
Joined: Thu Nov 18, 2021 2:55 pm

Re: Circuit Python; how to import file

by mikeysklar on Wed Nov 24, 2021 12:46 pm

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.

Code: Select all | TOGGLE FULL SIZE
wget https://raw.githubusercontent.com/CedarGroveStudios/AD9833_FeatherWing/master/code/cedargrove_ad9833.py
cp cedargrove_ad9833.py /Volumes/CIRCUITPY/lib
 

mikeysklar
 
Posts: 6526
Joined: Mon Aug 01, 2016 8:10 pm

Re: Circuit Python; how to import file

by RainySun on Wed Nov 24, 2021 8:22 pm

Thank you. That worked!!!

RainySun
 
Posts: 35
Joined: Thu Nov 18, 2021 2:55 pm

Re: Circuit Python; how to import file

by mikeysklar on Fri Nov 26, 2021 1:34 pm

Excellent. Thank you for the confirmation that it is working now.

mikeysklar
 
Posts: 6526
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.