会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chengwh
博客园
首页
新随笔
联系
订阅
管理
2023年10月11日
ESP32处于无限重启状态,串口消息rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
摘要: 项目场景: ESP32+4G模块做了个应用,程序烧入后处于无限重启状态,监视串口收到消息如下 16:30:52.486 -> rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)16:30:52.532 -> invalid head
阅读全文
posted @ 2023-10-11 17:15 chengwh
阅读(3292)
评论(0)
推荐(0)
2023年10月4日
arduino 使用String 替代不定长byte[]数组
摘要: 使用串口传输hex数据时,常用byte[]数组接收数据,若预先不能知道将要接收到数据的数量,那么byte[]数组的长度很难处理。偶尔想到用String对象来存储串口传输hex数据应当很方便,经测试,非常成功。 测试程序: String hh=""; void setup() { // put you
阅读全文
posted @ 2023-10-04 10:18 chengwh
阅读(465)
评论(0)
推荐(0)
2023年5月14日
合宙esp32c3开发板多软串口及GPIO测试
摘要: 合宙esp32c3开发板共引出GPIO口如下:GPIO0~13,GPIO18~21 并有如下提示: 使用注意事项 BOOT(IO09)管脚上电前不能下拉,ESP32会进入下载模式。 使用到IO08管脚进行设计,不建议外部直接下拉,因为在下载烧录时,IO08管脚为低电平,不能使用串口进行下载。 IO1
阅读全文
posted @ 2023-05-14 17:24 chengwh
阅读(4939)
评论(0)
推荐(0)
2023年5月9日
arduino 之 json 再测试(key是否存在)
摘要: 1.使用containsKey(): String do_back(String json) { StaticJsonDocument<200> sjdoc; deserializeJson(sjdoc, json); String val=sjdoc["hlf"].as<String>(); Se
阅读全文
posted @ 2023-05-09 10:09 chengwh
阅读(271)
评论(0)
推荐(0)
2022年11月13日
BLYNK 之http api 测试
摘要: 搭了个BLYNK服务器想了解BLYNK 之http api,由于所搭建的BLYNK服务器版本和当前blynk官网的版本不一致,没有找到相应资料。 最后在网上找到了一篇https://blog.csdn.net/u013622530/article/details/96508451参考。得到以下信息:
阅读全文
posted @ 2022-11-13 11:58 chengwh
阅读(327)
评论(0)
推荐(0)
2022年8月1日
arduino 的union数据测试
摘要: void setup() { union {struct{uint8_t a1;uint16_t a2;uint32_t a3;uint8_t a4;uint16_t a5;}bak;struct{uint16_t b1;uint32_t b2;uint8_t b3;uint32_t b4;}rec
阅读全文
posted @ 2022-08-01 16:43 chengwh
阅读(278)
评论(0)
推荐(0)
2022年5月19日
arduino 的 json 测试
摘要: 源程序 1 #include <ArduinoJson.h> 2 String st1,st2,st3; 3 4 const char* cc1; 5 const char* cc2; 6 const char* cc3; 7 int in1,in2,in3,in4; 8 void setup()
阅读全文
posted @ 2022-05-19 16:52 chengwh
阅读(161)
评论(0)
推荐(0)
2022年1月14日
ESP-specific_APIs_test
摘要: extern "C" { #include <user_interface.h>}uint32_t count = 0;ADC_MODE(ADC_VCC); //切换ADC模式void setup(){//波特率74880是ESP8266上电时打印信息的波特率Serial.begin(74880);
阅读全文
posted @ 2022-01-14 16:47 chengwh
阅读(180)
评论(0)
推荐(0)
2021年12月27日
ul li 点击变化并记录其值
摘要: <script src="https://cdn.staticfile.org/jquery/2.2.4/jquery.min.js"></script> <ul> <li value="1">点击</li> <li value="2">点击</li> <li value="3">点击</li> <
阅读全文
posted @ 2021-12-27 18:02 chengwh
阅读(66)
评论(0)
推荐(0)
2021年11月6日
arduino 字符串[] 测试
摘要: void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Ne
阅读全文
posted @ 2021-11-06 16:45 chengwh
阅读(108)
评论(0)
推荐(0)
下一页
公告