TONYLABS ESP32 Type-C 开发板技术资料

TONYLABS ESP32 Type-C 开发板技术资料

TONYLABS 02 Dec, 2019
Share:

电源

电源: 5V USB

接口:USB Type-C

准备工作

打开Arduino 设置面板,添加 ESP32 开发板支持,复制 https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json 至URL列表窗口。

等待安装结束后,选择对应板型和端口即可下载程序。

IO引脚定义图

SD 卡读卡器引脚定义图

Blink RGB 例程:

/*
Blink RGB
Turns an LED on for one second, then off for one second, repeatedly.
*/

void setup()
{
	pinMode(15, OUTPUT);
	pinMode(16, OUTPUT);
	pinMode(17, OUTPUT);
}

void loop()
{
	digitalWrite(15, HIGH);
	delay(300);
	digitalWrite(15, LOW);
	delay(300);
	digitalWrite(16, HIGH);
	delay(300);
	digitalWrite(16, LOW);
	delay(300);
	digitalWrite(17, HIGH);
	delay(300);
	digitalWrite(17, LOW);
	delay(300);
}

Like what you're reading? Subscribe to our top stories.

We will continue to update Front; if you have any questions or suggestions, please contact us!

Follow us on Medium, Twitter, Facebook, YouTube, and Dribbble.

Image Description
Written by

Hanna Wolfe

I create advanced website builders made exclusively for web developers.

3 Comments

  • Image Description
    Dave Austin 1 day ago

    As a Special Education teacher this resonates so well with me. Fighting with gen ed teachers to flatten for the students with learning disabilities. It also confirms some things for me in my writing.

    Reply
    • Image Description
      Hanna Wolfe 1 day ago

      Love it Dave! We're all about keeping it up.

      Reply
  • Image Description
    Christina Kray 2 days ago

    Since our attention spans seem to be shrinking by the day — keeping it simple is more important than ever.

    Reply

Post a comment

Stay in the know

Get special offers on the latest developments from Front.