Skip to content

Commit 648584c

Browse files
committed
Minor docs update
Updating RP2350 features to clarify HSTX support.
1 parent bacbece commit 648584c

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/hardware_overview.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ The Pro Micro - RP2350 uses the "A" version of the microcontroller which has 30
2222
* 24 PWM
2323
* USB 1.1 Controller
2424
* 12 PIO State Machines
25-
* 1x High-Speed Transmit (HSTX) Peripheral for DVI/DSI support
25+
* 1x High-Speed Transmit (HSTX) Peripheral for DVI/DSI support (not available on Pro Micro)
2626

27-
!!! note
28-
Due to size constraints on the Pro Micro footprint, only 18 GPIO are broken out, including all four analog inputs.
27+
!!! note "Pro Micro Footprint Constraints"
28+
Due to size constraints on the Pro Micro footprint, only 18 GPIO are broken out, including all four analog inputs. Unfortunately, this means HSTX is <b>not</b> supported on the Pro Micro - RP2350.
2929

3030
The RP2350 uses five separate power supplies though this board (and most applications) combines several of them into a single regulated 3.3V supply voltage provided either over the USB-C connector or to the RAW pin. If using the RAW pin, max input voltage is <b>5.3V</b> as RAW connects directly to the WS2812 LED.
3131

docs/micropython_examples.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
First, to make sure everything is running properly, use the <code>sys</code> module to verify the firmware version and machine/board running. Open your preferred interface and enter the following prompts and you should see something similar to the printout below:
88

99
``` py
10-
>>> import sys
11-
>>> sys.implementation
10+
import sys
11+
sys.implementation
1212
(name='micropython', version=(1, 24, 0, 'preview'), _machine='SparkFun Pro Micro RP2350 with RP2350', _mpy=7942)
1313
```
1414

@@ -17,8 +17,8 @@ First, to make sure everything is running properly, use the <code>sys</code> mod
1717
Next, we can verify the total free memory on the Pro Micro which includes the built-in memory on the RP2350 as well as the 8MB PSRAM. We'll use the <code>gc</code> module for this so type in the prompt below and you should see a response close to the value below:
1818

1919
``` py
20-
>>> import gc
21-
>>> gc.mem_free()
20+
import gc
21+
gc.mem_free()
2222
8640352
2323
```
2424

@@ -29,11 +29,11 @@ Next, we can verify the total free memory on the Pro Micro which includes the bu
2929
Finally, we'll make sure we can properly control the WS2812 LED on the Pro Micro using the <code>machine</code> and <code>neopixel</code> classes. The WS2812 Data In pin connects to I/O 25 on the RP2350 so we'll create a pin for it as an OUTPUT and assign it to the LED object. Next, we'll set the color to red and finally write the color values to the LED. The code below goes through all these steps so try copying it on your machine and you should see the WS2812 LED turn red.
3030

3131
``` py
32-
>>> import machine, neopixel
33-
>>> pin = machine.Pin(25, machine.Pin.OUT)
34-
>>> led = neopixel.NeoPixel(pin, 1)
35-
>>> n[0] = (255, 0, 0)
36-
>>> n.write()
32+
import machine, neopixel
33+
pin = machine.Pin(25, machine.Pin.OUT)
34+
led = neopixel.NeoPixel(pin, 1)
35+
n[0] = (255, 0, 0)
36+
n.write()
3737
```
3838

3939
Try playing around with other values between 0 and 255 for the three colors (R, G, B) and then writing the changes to switch the LED's displayed color.

0 commit comments

Comments
 (0)