Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1955189
  • 博文数量: 356
  • 博客积分: 8284
  • 博客等级: 中将
  • 技术积分: 4580
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-15 20:25
个人简介

天行健,君子以自强不息

文章分类

全部博文(356)

文章存档

2018年(1)

2016年(4)

2015年(13)

2014年(14)

2013年(2)

2012年(25)

2011年(43)

2010年(65)

2009年(189)

发布时间:2014-12-14 18:14:25

1、编写脚本cd /home/pi/testnano post_hc_sr04.py代码如下:点击(此处)折叠或打开# -*- coding:utf-8 -*-import RPi.GPIO as GPIOimport timeimport requestsimport jsondef checkdist():.........【阅读全文】

阅读(2044) | 评论(0) | 转发(0)

发布时间:2014-12-14 17:14:27

1、HC-SR04 管脚介绍 VCC,超声波模块电源脚,接5V电源即可Trig,超声波发送脚,高电平时发送出40KHZ出超声波Echo,超声波接收检测脚,当接收到返回的超声波时,输出高电平GND,超声波模块GND2、树莓派管脚介绍第2只脚为5V,给超声波模块供电第39只脚为GND,与超声波模块共地第1、3只脚分别为GPIO2和GPIO3,分别作.........【阅读全文】

阅读(30947) | 评论(0) | 转发(1)

发布时间:2014-12-10 20:06:31

1、编写hello的c程序#include "stdio.h"int main(char *argv[],char argc){printf("hello raspberry pi!\r\n");}编译:gcc  -c   hello.c 会发现生成了一个a.out文件./a.out  执行显示:hello raspberry pi!2、显示树莓派CPU温度:cat  /sys/class/thermal/thermal_zone0/temp用p.........【阅读全文】

阅读(1260) | 评论(0) | 转发(0)

发布时间:2014-12-04 13:50:19

程序代码如下点击(此处)折叠或打开static char http_request[500]= {0};BYTE yeelink_post(const char *device_id,const char *sensors_id,float value){        char remote_server[]="api.yeelink.net";.........【阅读全文】

阅读(943) | 评论(0) | 转发(0)

发布时间:2014-11-15 08:51:53

大开cmd,切换到vbox安装目录cd  C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyhd "F:、ubuntu14.10.vid" --resize 30000 ......【阅读全文】

阅读(847) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

M甲壳虫M2022-03-10 17:32

壮哥,时隔11年再来你的博客,你停播了

回复  |  举报
留言热议
请登录后留言。

登录 注册