大约有 49,000 项符合查询结果(耗时:0.0707秒) [XML]
Python -> Blockly - 闲聊区 - 清泛IT社区,为创新赋能!
https://github.com/blockpy-edu/BlockMirror
在线例子:https://blockpy-edu.github.io/BlockMirror/docs/index.html
--------
https://blog.ouseful.info/2016/0 ... lockly-environment/
Blockly -> Py 在线运行
串口Read不到数据的问题 - 用户反馈 - 清泛IT社区,为创新赋能!
用户发送的是 8n1 的格式,但是ai2的串口貌似不支持这种格式。写串口正常,读串口为空,len为0。
目前经过测试验证,应该是 \n 作为结束符的。发送时,也是。
ai2使用 physicaloid 库完成的串口功能。
想试着做一个间歇运动的计时器 - App应用开发 - 清泛IT社区,为创新赋能!
本帖最后由 碳水哥斯拉 于 2025-05-08 23:37 编辑
用deepseek生成了代码 使用AI2 遇到了问题
to formatTime seconds
set minutes to (seconds / 60)
set secs to (seconds - (minutes * 60))
return join strings( padZero(minutes), ":",...
【研究中】MQTT接入OneNET物联网平台 - 创客硬件开发 - 清泛IT社区,为创新赋能!
网址:https://open.iot.10086.cn/
注册,及实名验证。https://baijiahao.baidu.com/s?id ... 0&wfr=spider&for=pc
非常的详细,就是我想要的步骤。
https://blog.csdn.net/xiaolong11 ... e/details/144806792
这个更详细。
大模型拓展调用报错,已解决 - 用户反馈 - 清泛IT社区,为创新赋能!
Error 3300: Error 400 in
Mi extension LLMAI2Ext:
HTTP Error 400: {"error":
{"message":"Invalid request: the message at position 0 with role 'user' must not be empty" "type":"invalid_request _error"}}
解决中。
这个是拓展报的错,...
AppInventor2 解析json数据技巧 - App应用开发 - 清泛IT社区,为创新赋能!
{
"code": 0,
"data": [
{
"identifier": "CH4",
"time": 1762406563579,
"value": "6.9",
&qu...
AppInventor2 文本和数字如何转换? - App应用开发 - 清泛IT社区,为创新赋能!
...来一个文本转数字的情况:
定义一个变量赋初值 数字0,然后将文本设置给它,事实证明这时它自动变成了文本类型,而不再是数字。因此此方案行不通。
最彻底的方案:
[hide]
直接使用数字运算,经验证,非常的OK。
...
How do I exchange keys with values in a dictionary?
...
Python 2:
res = dict((v,k) for k,v in a.iteritems())
Python 3 (thanks to @erik):
res = dict((v,k) for k,v in a.items())
share
|
...
When is “i += x” different from “i = i + x” in Python?
...
323
This depends entirely on the object i.
+= calls the __iadd__ method (if it exists -- falling...
How can I select from list of values in SQL Server
... the distinct values.
SELECT 1
UNION SELECT 1
UNION SELECT 1
UNION SELECT 2
UNION SELECT 5
UNION SELECT 1
UNION SELECT 6
Applied to your long line of comma delimited text
Find and replace every comma with UNION SELECT
Add a SELECT in front of the statement
You now should have a working query ...
