24 lines
546 B
Python
Executable file
24 lines
546 B
Python
Executable file
|
|
# This file is part of MicroPython M5Stack package
|
|
# Copyright (c) 2017 Mika Tuupola
|
|
#
|
|
# Licensed under the MIT license:
|
|
# http://www.opensource.org/licenses/mit-license.php
|
|
#
|
|
# Project home:
|
|
# https://github.com/tuupola/micropython-m5stacj
|
|
|
|
from micropython import const
|
|
|
|
BUTTON_A_PIN = const(39)
|
|
BUTTON_B_PIN = const(38)
|
|
BUTTON_C_PIN = const(37)
|
|
SPEAKER_PIN = const(25)
|
|
|
|
TFT_LED_PIN = const(32)
|
|
TFT_DC_PIN = const(27)
|
|
TFT_CS_PIN = const(14)
|
|
TFT_MOSI_PIN = const(23)
|
|
TFT_CLK_PIN = const(18)
|
|
TFT_RST_PIN = const(33)
|
|
TFT_MISO_PIN = const(19)
|