CircuitPython 8 beta 4 Cytron Demo Code Fails

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
Cyber175
 
Posts: 6
Joined: Thu Aug 23, 2012 6:45 pm

CircuitPython 8 beta 4 Cytron Demo Code Fails

Post by Cyber175 »

I have several Cytron Maker Pi Pico boards with a Pico W installed. Their Demo Code fails when Pico W version of CircuitPython (CP) is installed, but runs when the Pico version of CP 8 Beta is installed. I believe this demonstrates a bug in the Pico W version of the CP 8 Beta, a bug which I am unable to correct. Both versions of their demo software should run identically. The W version fails.

I have attached a zip file containing the entire contents of the Circuitpy drive. Try it and you will see.

Thanks for your help.
Attachments
Cytron Maker Pi Pico Original Files.zip
(195.83 KiB) Downloaded 2 times

User avatar
danhalbert
 
Posts: 4613
Joined: Tue Aug 08, 2017 12:37 pm

Re: CircuitPython 8 beta 4 Cytron Demo Code Fails

Post by danhalbert »

Please show us the backtrace and the detailed error. I would hazard a guess this is due to differences for `board.LED`, which is not a conventional pin on the Pico W. You might want to bring this up with Cytron, since this is their code, not ours.

User avatar
blakebr
 
Posts: 942
Joined: Tue Apr 17, 2012 6:23 pm

Re: CircuitPython 8 beta 4 Cytron Demo Code Fails

Post by blakebr »

Hello,

I have a Pico W installed on a Maker Pi Pico and the WiFi works just fine. I actually have the Pico W WiFi and the ESP-01 WiFi working simultaneously. What I cannot do is use the SD Card I/O while in "W" Mode.

Code: Select all

# WiFi & SD Card Stuff
Board = board.board_id
if   Board == 'raspberry_pi_pico':  Board = 'Pico'
elif Board == 'raspberry_pi_pico_w':  Board = 'PicoW'
else: 
  print('No compatable OS or board found')
  raise
AP_List_Flag =  True
SD_card_Flag =  True
ESP_01_WiFi  =  True
PicoW_WiFi   =  True
if (Board == 'PicoW'): SD_card_Flag = False
if (Board == 'Pico'): PicoW_WiFi = False
Bruce

User avatar
jerryn
 
Posts: 1865
Joined: Sat Sep 14, 2013 9:05 am

Re: CircuitPython 8 beta 4 Cytron Demo Code Fails

Post by jerryn »

This may be relevant to the SDCard issue ...
https://github.com/CytronTechnologies/M ... O/issues/9

User avatar
blakebr
 
Posts: 942
Joined: Tue Apr 17, 2012 6:23 pm

Re: CircuitPython 8 beta 4 Cytron Demo Code Fails

Post by blakebr »

Jerry,

Thanks, I'll put that in my tool kit.

Bruce

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

Return to “Adafruit CircuitPython”