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.
CircuitPython 8 beta 4 Cytron Demo Code Fails
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Cyber175
- Posts: 6
- Joined: Thu Aug 23, 2012 6:45 pm
CircuitPython 8 beta 4 Cytron Demo Code Fails
- Attachments
-
- Cytron Maker Pi Pico Original Files.zip
- (195.83 KiB) Downloaded 2 times
- danhalbert
- Posts: 4613
- Joined: Tue Aug 08, 2017 12:37 pm
Re: CircuitPython 8 beta 4 Cytron Demo Code Fails
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.
- blakebr
- Posts: 942
- Joined: Tue Apr 17, 2012 6:23 pm
Re: CircuitPython 8 beta 4 Cytron Demo Code Fails
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.Bruce
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
- jerryn
- Posts: 1865
- Joined: Sat Sep 14, 2013 9:05 am
Re: CircuitPython 8 beta 4 Cytron Demo Code Fails
This may be relevant to the SDCard issue ...
https://github.com/CytronTechnologies/M ... O/issues/9
https://github.com/CytronTechnologies/M ... O/issues/9
- blakebr
- Posts: 942
- Joined: Tue Apr 17, 2012 6:23 pm
Re: CircuitPython 8 beta 4 Cytron Demo Code Fails
Jerry,
Thanks, I'll put that in my tool kit.
Bruce
Thanks, I'll put that in my tool kit.
Bruce
Please be positive and constructive with your questions and comments.