Skip to content

Commit 52abee5

Browse files
authored
Update m5stack_stamp_s3.md
Update links
1 parent 84648c1 commit 52abee5

File tree

1 file changed

+9
-29
lines changed

1 file changed

+9
-29
lines changed

_board/m5stack_stamp_s3.md

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -28,41 +28,21 @@ STAMPS3 comes equipped with a built-in highly integrated 5V to 3.3V circuit, ens
2828
USB-C connector and RGB Status LED are independent from all broken-out GPIO. GPIO46 is drop-down by default.
2929

3030
### Mounting Considerations
31-
- 2.54mm DIP mounting breaks out 10 GPIO plus EN, 5V, 3V3, GND, GND
32-
- 1.27mm DIP mounting breaks out 23 GPIO plus EN, 5V, 3V3, GND, GND
33-
- Optional 8 pin 0.5mm pitch FPC header breaks out 6 additional GPIO plus 3V3, GND
34-
- Optional 12 pin 0.5mm pitch FPC header breaks out 9 additional GPIO plus 5V, 3v3, GND
31+
* 2.54mm DIP mounting breaks out 10 GPIO plus EN, 5V, 3V3, GND, GND
32+
* 1.27mm DIP mounting breaks out 23 GPIO plus EN, 5V, 3V3, GND, GND
33+
* Optional 8 pin 0.5mm pitch FPC header breaks out 6 additional GPIO plus 3V3, GND
34+
* Optional 12 pin 0.5mm pitch FPC header breaks out 9 additional GPIO plus 5V, 3v3, GND
3535

3636
### Optional LCD
37-
The M5Stamp S3 is available as a "Cardputer Accessory Kit", which includes a pre-soldered 8 pin FPC header and a 1.14" 240x135px LCD screen. If you wish to make use of this functionality without using the ST7789 library, this code will enable the display.
38-
39-
```
40-
import board
41-
import busio
42-
import displayio
43-
from fourwire import FourWire
44-
45-
displayio.release_displays()
46-
47-
spi = busio.SPI(clock=board.TFT_SCK, MOSI=board.TFT_MOSI)
48-
while not spi.try_lock():
49-
pass
50-
spi.configure(baudrate=40000000)
51-
spi.unlock()
52-
53-
display_bus = FourWire(spi, command=board.TFT_DC, chip_select=board.TFT_CS, reset=board.TFT_RST)
54-
55-
INIT_SEQUENCE = (
56-
b"\x01\x80\x96\x11\x80\xFF\x3A\x81\x55\x0A\x36\x01\x08\x21\x80\x0A\x13\x80\x0A\x36\x01\xC0\x29\x80\xFF"
57-
)
58-
59-
display = displayio.Display(display_bus, INIT_SEQUENCE, rotation=270, width=240, height=135, rowstart=40, colstart=53)
60-
```
37+
The M5Stamp S3 is available as a "Cardputer Accessory Kit", which includes a pre-soldered 8 pin FPC header and a 1.14" 240x135px LCD screen. If you wish to make use of this functionality, please use the adafruit_st7789 library.
6138

6239
## Documentation
6340

6441
* [M5Stamp S3](https://docs.m5stack.com/en/core/StampS3)
6542

6643
## Purchase
6744

68-
* [Adafruit](https://www.adafruit.com/product/3857)
45+
* [M5Stack - StampS3 Module](https://shop.m5stack.com/products/m5stamp-esp32s3-module)
46+
* [M5Stack - StampS3 with 1.27 Header Pin](https://shop.m5stack.com/products/m5stamps3-with-1-27-header-pin)
47+
* [M5Stack - StampS3 with 2.54 Header Pin](https://shop.m5stack.com/products/m5stamps3-with-2-54-header-pin)
48+
* [M5Stack - StampS3 with Display](https://shop.m5stack.com/products/cardputer-accessory-kit)

0 commit comments

Comments
 (0)