Scadao 发表于 2019-10-26 23:44:57

本帖最后由 Scadao 于 2019-10-29 10:54 编辑

WeMos D1引脚对应Arduino规范


https://img-blog.csdn.net/20180715223607546?/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dvd29jcHA=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70

Scadao 发表于 2019-10-27 20:31:04

PWS板帮助文档:




ywqs 发表于 2019-10-27 21:35:29

Scadao 发表于 2019-10-26 21:40
PWS板件使用用户指南:
https://tsxperts.com/wp-content/uploads/2014/03/Programmable-Wireless-Stamp-P ...

温老师!请教一下!我安装PWS,但是没有例子,编辑枚举时,无法修改这个引脚的枚举值。

ywqs 发表于 2019-10-27 21:36:03

Scadao 发表于 2019-10-26 21:40
PWS板件使用用户指南:
https://tsxperts.com/wp-content/uploads/2014/03/Programmable-Wireless-Stamp-P ...

温老师!请教一下!我安装PWS,但是没有例子,编辑枚举时,无法修改这个引脚的枚举值。

Scadao 发表于 2019-10-27 22:06:02

本帖最后由 Scadao 于 2019-10-27 22:07 编辑

ywqs 发表于 2019-10-27 21:36
温老师!请教一下!我安装PWS,但是没有例子,编辑枚举时,无法修改这个引脚的枚举值。
选择第一个环形文本控件:





ywqs 发表于 2019-10-27 22:22:43

Scadao 发表于 2019-10-27 22:06
选择第一个环形文本控件:

谢谢!OK了。

Scadao 发表于 2019-10-27 22:45:04

ESP8266技术参考122页


Scadao 发表于 2019-10-27 22:48:58

ESP8266常见问题


Scadao 发表于 2019-10-28 23:44:37

ESP8266 arduino 内核文档链接:

https://arduino-esp8266.readthedocs.io/en/2.5.2/


ESP8266 Arduino 内核封装库即板级支持包下载链接:

https://github.com/esp8266/Arduino

Scadao 发表于 2019-10-29 00:20:16

数字引脚对应编程见附件VI,截图如下——



有必要说明下PWM输出是软件实现的,非硬核PWM输出,D0~D16均可实现,内核文档说明如下:

Analog output¶analogWrite(pin, value) enables software PWM on the given pin. PWMmay be used on pins 0 to 16. Call analogWrite(pin, 0) to disable PWMon the pin. value may be in range from 0 to PWMRANGE, which isequal to 1023 by default. PWM range may be changed by callinganalogWriteRange(new_range).PWM frequency is 1kHz by default. CallanalogWriteFreq(new_frequency) to change the frequency. Valid valuesare from 100Hz up to 40000Hz.The ESP doesn’t have hardware PWM, so the implementation is by software.With one PWM output at 40KHz, the CPU is already rather loaded. The morePWM outputs used, and the higher their frequency, the closer you get tothe CPU limits, and the less CPU cycles are available for sketch execution.
页: 1 [2] 3 4
查看完整版本: ESP8266编程资源荟萃