Esp32 建立 Access Point (softAP)
板子:Esp32 S2 代码: #include const char* ssid="esp32"; const char* pwd = "xxxxxxx"; void setup() { Serial.begin(115200); WiFi.softAP(ssid,…
LeetCode 40. 组合总和 II
给定一个数组 candidates 和一个目标数 target ,找出 candidates 中所有可以使数字和为 target 的组合。 candidates 中的每个数字在每个组合中只能使…
简单理解 async/await
ES7 提出的 async 函数,终于让 JavaScript 对于异步操作有了终极解决方案 No more callback hell Async 函数的改进在于下面四点: 内置执行器 Genera…
JavaScript 中的 Promise 链式调用
Promise 链使 Promise 比 回调 。 关键思想是 Promise 的 then()函数 返回另一个承诺,所以你可以链接 .then() 一起调用来告诉 JavaScript 按顺序执行…
- 共 1 页
- 1