Hello,
Will there be a Circuit Python OS release that addresses the I/O pins and devices on the Maker Pi Pico board, Product ID: 5160?
It could define such things as the Buzzer, NeoPixel, Buttons, Groves, etc.
Also the Maker Pi RP2040 - Motor and Robot Controller board, Product ID: 5129
Bruce
Maker Pi Pico OS Release
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- squirrel_oak
- Posts: 22
- Joined: Sun Sep 26, 2021 11:03 am
Re: Maker Pi Pico OS Release
I'm not with Adafruit, but did you look at the example circuitpython code that Cytron gives for the Maker Pico? You can just install CircuitPython for the pico, and then adapt that example code for your needs.
- blakebr
- Posts: 989
- Joined: Tue Apr 17, 2012 6:23 pm
Re: Maker Pi Pico OS Release
Mr. Oak,
I looked at and down loaded their code.
I loaded the latest Circuit Python 7.1.1 to the RPi Pico.
After several hours work, I finally got it all to work.
What I am looking for is an OS that knows where the NeoPixel is, the SD Card is (MISO, MOSI, SCK, CS), the LED on the RPi Pico board is, etc. The Feather RP2040 OS is written to know where the special devices are as related to the RP2040, much like the Arduino Nano RP2040 Connect.
This is what is defined in the stock RPi Pico OS This is a perfect starter board carrier, but to make the code.py work on other AdaFruit platforms these needs to be consistency.
The end result would be an OS for the RPi Pico RP2040 customized for this development board that AF sells.
Bruce
I looked at and down loaded their code.
I loaded the latest Circuit Python 7.1.1 to the RPi Pico.
After several hours work, I finally got it all to work.
What I am looking for is an OS that knows where the NeoPixel is, the SD Card is (MISO, MOSI, SCK, CS), the LED on the RPi Pico board is, etc. The Feather RP2040 OS is written to know where the special devices are as related to the RP2040, much like the Arduino Nano RP2040 Connect.
This is what is defined in the stock RPi Pico OS
Code: Select all
>>> import board
>>> help(board)
object <module 'board'> is of type module
__name__ -- board
board_id -- raspberry_pi_pico
GP0 -- board.GP0
GP1 -- board.GP1
GP2 -- board.GP2
GP3 -- board.GP3
GP4 -- board.GP4
GP5 -- board.GP5
GP6 -- board.GP6
GP7 -- board.GP7
GP8 -- board.GP8
GP9 -- board.GP9
GP10 -- board.GP10
GP11 -- board.GP11
GP12 -- board.GP12
GP13 -- board.GP13
GP14 -- board.GP14
GP15 -- board.GP15
GP16 -- board.GP16 # ESP-01
GP17 -- board.GP17 # ESP-01
GP18 -- board.GP18 # Buzzer
GP19 -- board.GP19
GP20 -- board.GP20 Button
GP21 -- board.GP21 Button
GP22 -- board.GP22 Button
SMPS_MODE -- board.SMPS_MODE
GP23 -- board.SMPS_MODE
VBUS_SENSE -- board.VBUS_SENSE
GP24 -- board.VBUS_SENSE
LED -- board.LED
GP25 -- board.LED
GP26_A0 -- board.GP26_A0
GP26 -- board.GP26_A0
A0 -- board.GP26_A0
GP27_A1 -- board.GP27_A1
GP27 -- board.GP27_A1
A1 -- board.GP27_A1
GP28_A2 -- board.GP28_A2
GP28 -- board.GP28_A2
A2 -- board.GP28_A2
A3 -- board.A3
VOLTAGE_MONITOR -- board.A3
The end result would be an OS for the RPi Pico RP2040 customized for this development board that AF sells.
Bruce
Please be positive and constructive with your questions and comments.