Circuit Python Help

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
MarthaV
 
Posts: 23
Joined: Sun Feb 18, 2018 5:17 pm

Circuit Python Help

Post by MarthaV »

Hi there,
I'm running this on Mac 10.13.3
I've downloaded circuit python https://learn.adafruit.com/adafruit-cir ... quickstart
I've downloaded MU
I've copied the code to MU and saved code.py to CPLAYBOOT

Code: Select all

import board
import digitalio
import time
 
led = digitalio.DigitalInOut(board.D13)
led.direction = digitalio.Direction.OUTPUT
 
while True:
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)
No change on the playground express. Lights are all showing green.
Oh! I was just re-reading the instructions and MU did not recognize the python device. I tried resetting as well as unplugging fom the mac and resetting.
I'm confident that this is operator error. I'm very excited to start programming on the playground and using it for workshops.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Circuit Python Help

Post by adafruit_support_mike »

[moved to the CircuitPython forum]

User avatar
inventhouse
 
Posts: 22
Joined: Wed Dec 27, 2017 11:04 pm

Re: Circuit Python Help

Post by inventhouse »

All green ring, slowly pulsing tiny red led, and drive named CPLAYBOOT all indicate that the CPX is in “bootloader” mode.

While it’s in that mode, you can drop the latest CircuitPython on it: https://learn.adafruit.com/welcome-to-c ... cuitpython

When the drive re-connects, it should be called CIRCUITPY and then it’ll be ready for code.

User avatar
MarthaV
 
Posts: 23
Joined: Sun Feb 18, 2018 5:17 pm

Re: Circuit Python Help

Post by MarthaV »

thank you! and I'm off!

User avatar
MarthaV
 
Posts: 23
Joined: Sun Feb 18, 2018 5:17 pm

Re: Circuit Python Help

Post by MarthaV »

thank you! and I'm off!

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”