连续写入 void i2c_write( unsigned char *strpuf,unsigned char num ,u8 addr) // strpuf是传入的数组,num是传递的个数,addr是分配的地址{ I2CStart(); I2CSendByte(0xa0); I2CWaitAck ...
分类:
其他好文 时间:
2021-04-20 14:19:34
阅读次数:
0
goconvery基本使用 (1.)项目地址 https://github.com/smartystreets/goconvery (2.)安装 go get -u github.com/smartystreets/goconvery/convery (3.)启动UI界面 $GOPATH/bin/g ...
分类:
其他好文 时间:
2021-04-20 14:09:28
阅读次数:
0
在下面这个 StackOverflow 的线索里进行了讨论: https://stackoverflow.com/questions/9895202/what-is-the-difference-between-window-screen-and-document-in-javascript win ...
分类:
编程语言 时间:
2021-04-19 16:04:43
阅读次数:
0
1. Binder的系统日志文件 # ps -A | grep suspend system 699 1 2184444 4564 binder_ioctl_write_read 0 S android.system.suspend@1.0-service # ls /proc/699/fd -l ...
分类:
其他好文 时间:
2021-04-19 15:59:18
阅读次数:
0
1 // 变长参数传递与两个函数之间 2 template <class... Args> 3 void myTest(Args... args) { 4 printf("%d,%d,%d,%d", args...); 5 } 6 int main() { 7 myTest(1, 2, 3, 4); ...
分类:
其他好文 时间:
2021-04-19 15:50:56
阅读次数:
0
难度 medium 找出所有相加之和为 n 的 k 个数的组合。组合中只允许含有 1 - 9 的正整数,并且每种组合中不存在重复的数字。 说明: 所有数字都是正整数。 解集不能包含重复的组合。 示例 1: 输入: k = 3, n = 7 输出: [[1,2,4]] 示例 2: 输入: k = 3, ...
分类:
其他好文 时间:
2021-04-19 15:38:38
阅读次数:
0
es版本6.8.*及以下,7.9.*不适用。 直接贴代码 import java.io.FileNotFoundException; import java.io.IOException; import java.util.Date; import java.util.HashMap; import ...
分类:
编程语言 时间:
2021-04-19 15:09:30
阅读次数:
0
C#中对xml数据的读取和写入: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Xml; using ...
FOR XML PATH('') 将查询结果显示为XML 经常用来将查询结果按逗号分隔后显示至某一字段 select * from Area结果 添加FOR XML PATH('')后 select * from Area FOR XML PATH('') 这是xml格式 将地名用逗号分开放到一个字 ...
分类:
数据库 时间:
2021-04-19 14:40:41
阅读次数:
0
1 import Home from '../views/Home.vue' { path: '/', name: 'Home', component: Home }, 2 { path: '/about', name: 'About', component: () => import('../vi ...
分类:
其他好文 时间:
2021-04-16 12:13:05
阅读次数:
0