随笔分类 -  ESP8266

摘要:Arduino char/char*/String数据类型转换String转换成char[ ]方法先通过.c_str()方法,将string.c_str()数据转成char*,在通过strcpy()函数实现转换char *strcpy(char *dest, const char *src)参数说明 阅读全文
posted @ 2025-07-03 08:38 txwtech 阅读(166) 评论(0) 推荐(0)
摘要:platformio版本esp32/esp8266 阅读全文
posted @ 2025-07-02 09:57 txwtech 阅读(18) 评论(0) 推荐(0)
摘要:如何上拉引脚: pinMode(D0,INPUT_PULLUP); 翻译 搜索 复制 阅读全文
posted @ 2023-08-25 16:05 txwtech 阅读(134) 评论(1) 推荐(0)
摘要:call to HTTPClient::begin declared with attribute error: obsolete API, use ::begin(WiFiClient, url) 修改为: WiFiClient client; //新添加 HTTPClient httpClien 阅读全文
posted @ 2023-08-25 09:54 txwtech 阅读(287) 评论(0) 推荐(0)
摘要:arduino2.1.0-esp32_2.0.9-esp8266_3.1.1离线安装包 https://pan.baidu.com/s/1DFR2X6stro4PTXMg9rOrow?pwd=b4u0 提取码:b4u0 翻译 搜索 复制 阅读全文
posted @ 2023-08-18 11:48 txwtech 阅读(1209) 评论(0) 推荐(0)
摘要:esp8266太空人天气时钟编译成功vscode_arduino 库文件版本: 翻译 搜索 复制 阅读全文
posted @ 2023-08-12 17:08 txwtech 阅读(193) 评论(2) 推荐(1)
摘要:esp8266httpclient_get_post使用 #include<ESP8266WiFi.h> #include <ESP8266HTTPClient.h> //const char *ssid = "AxxxIFI"; const char *password = "xxxs879xxx 阅读全文
posted @ 2023-08-10 14:25 txwtech 阅读(263) 评论(0) 推荐(0)
摘要:arduinoJson与tft_espi库发生冲突解决方法 下载arduinoJson5.0版本的,不要用最新版本 示范代码 // Copyright Benoit Blanchon 2014 // MIT License // // Arduino JSON library // https:// 阅读全文
posted @ 2023-08-10 11:19 txwtech 阅读(134) 评论(0) 推荐(0)
摘要:AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/../../bootloaders/eboot/flash.h:16:32: fatal error: spi_flash_geometry.h 阅读全文
posted @ 2023-08-04 08:37 txwtech 阅读(73) 评论(0) 推荐(0)
摘要:复制arduino-master下的所有文件: arduino-master.rar链接待更新 到: 目录:C:\Users\ttx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0 ttx是自己的用户名 [Startin 阅读全文
posted @ 2023-08-03 21:38 txwtech 阅读(202) 评论(0) 推荐(0)
摘要:第三方库自动下载的位置: D:\Users\xx\Documents\Arduino\libraries\ArduinoJson 不要把库放在其它地方,arduino编译找不到的。 与设置的地方一致 In file included from d:\Arduino_Project\agv_remot 阅读全文
posted @ 2023-07-30 22:10 txwtech 阅读(304) 评论(0) 推荐(0)
摘要:ARDUINO 串口监视器 支持UTF-8编码 其它TCP/IP发送显示乱码 ARDUINO 串口监视器 支持UTF-8编码,不支持GBK编码 翻译 搜索 复制 阅读全文
posted @ 2023-07-28 15:22 txwtech 阅读(441) 评论(0) 推荐(0)
摘要:Arduino TFT_eSPI 中文字库制作 转载:https://www.cnblogs.com/deng1821333144/p/15307883.html 目录 第一步 安装Arduino 第二部 选择开发板,安装库TFT_eSPI 第三部 自定制字库文件 大家好,自己第一次写文章,写的不好 阅读全文
posted @ 2023-07-27 13:08 txwtech 阅读(1929) 评论(0) 推荐(0)
摘要:tft.setRotation(1);//"字体显示角度0:0°,1:90°,2:180°,3:270°" x /* This example draws fonts (as used by the Adafruit_GFX library) onto the screen. These fonts 阅读全文
posted @ 2023-07-26 21:08 txwtech 阅读(254) 评论(0) 推荐(0)
摘要:User_Setup_Select.h TFT连接esp8266 ILI9488 ESP8266 LED/VCC--3.3V GND-GND SD1/MOSI --D7 SCK--D5 T_D0 --D6 T_CS--D2 // This header file contains a list of 阅读全文
posted @ 2023-07-26 14:52 txwtech 阅读(349) 评论(0) 推荐(0)
摘要:User_Setup.h // USER DEFINED SETTINGS // Set driver type, fonts to be loaded, pins used and SPI control method etc // // See the User_Setup_Select.h f 阅读全文
posted @ 2023-07-26 14:46 txwtech 阅读(106) 评论(0) 推荐(0)
摘要:Please see the build logs in output path: d:\Arduino_Project\agv_remote_info_display\build 正在加载配置... 正在初始化包... 正在准备开发板... 正在验证... In file included fro 阅读全文
posted @ 2023-07-26 10:00 txwtech 阅读(237) 评论(0) 推荐(0)
摘要:在线wiki资料更新下载: (复制到浏览器打开) 1.8寸SPI中文wiki: http://www.lcdwiki.com/zh/1.8inch_Arduino_SPI_Module_ST7735S_SKU:MAR1801 2.2寸SPI中文wiki: http://www.lcdwiki.com 阅读全文
posted @ 2023-07-25 20:11 txwtech 阅读(130) 评论(0) 推荐(0)
摘要:click-weather:24:25: fatal error: ArduinoJson.h: No such file or directory #include <ArduinoJson.h> click-weather:25:21: fatal error: TimeLib.h: No su 阅读全文
posted @ 2023-07-23 15:41 txwtech 阅读(66) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/433461900 其实图表已经把功能成系列的引脚归类排列在一起了,根据注意事项翻译过来就是: GPIO0(D3):连接到NODEMCU为代表的FLASH按键开关上,作为输入时上拉,作为输出时是推荐作为输出引脚的。如果引脚被拉低则无法启动; 阅读全文
posted @ 2023-07-16 19:55 txwtech 阅读(8303) 评论(0) 推荐(0)