jerryn wrote:Can you provide more information about what you are doing to try to run the software and what errors you are seeing?
Are you using the example LED_Trampoline.py with NO modifications.
If there have been any changes, please post them as well.
import LED_Trampoline
jerryn wrote:It looks like you are trying to run the code on you host system from the mounted G: drive.
That is not how it works. The LED_Trampoline.py runs on the Itsybitsy board.
Have you followed the guide https://learn.adafruit.com/welcome-to-circuitpython?view=all#the-repl you can use the REPL to see code run.
Use
- Code: Select all | TOGGLE FULL SIZE
import LED_Trampoline
Did you also copy the necessary library files for this program. You will need neopixel.mpy from the “bundle”. See the section on libraries in the same guide. It may have been “pre-installed”
Edited to add. It makes a big difference if you name the file code.py. In that case it will start automatically every time you reset the board.
If neopixel.mpy is not there, it will fail.
Good luck!
jerryn wrote:I have not used pycharm. I recommend using mu or putty to access the REPL. See the advanced REPL section of the guide.
https://learn.adafruit.com/welcome-to-circuitpython?view=all#advanced-serial-console-on-windows
Also, have you installed the windows 7 drivers? https://learn.adafruit.com/welcome-to-circuitpython/installing-circuitpython#windows-7-drivers
I am not a windows user, so I can’t give specific advice.
Don’t get discouraged! We’ll get there!
adafruit_support_carter wrote:Post the contents of your main.py file.
led = DigitalInOut(board.D5)
neopixels = neopixel.NeoPixel(board.D5, NUMPIXELS, brightness=0.2, auto_write=False)
adafruit_support_carter wrote:You are already using D5. See line 25:
- Code: Select all | TOGGLE FULL SIZE
led = DigitalInOut(board.D5)
And then you try to use it again for your NeoPixels:
- Code: Select all | TOGGLE FULL SIZE
neopixels = neopixel.NeoPixel(board.D5, NUMPIXELS, brightness=0.2, auto_write=False)
What do you actually have connected to D5?
neopixels = neopixel.NeoPixel(board.D5, NUMPIXELS, brightness=0.2, auto_write=False)