BBKEthernet.ino
Arduino网卡代码,支持SPI连接的网络接入设备……
BBKEthernet.ino
Source code //=====================================================
#include <SPI.h>
#include <Ethernet.h>
#inc...
BBKNTPNetTime.ino
Network Time Protocol(NTP)是用来使计算机时间同步化的一种协议,它可以使计算机对其服务器或时钟源(如石英钟,GPS等等)做同步化,它可以提供高精准度的时间校正(LAN上与标准间差小于1毫秒,WAN上几十毫秒),...
http://www.geek-workshop.com/thread-3168-1-1.html
BBKTUBE.ino
Source code //-------------------------------------------------------------------
const int dataPin = A0;// SER - DIO //DATA
const int l...
Arduino SPI 通信
原文地址:http://www.gammon.com.au/forum/?id=10892
原文地址:http://www.geek-workshop.com/thread-4781-1-1.html
SPI的英文全称是:“Serial Peripheral Interface”,翻译成中文的意思是串口通信外围设备接口技...
LCD1602显示屏代码
BBKZLCD1602.ino
Source code //===============================================
//PIN1 GND 接0V
//PIN2 VCC 接4.8V-5V
//PIN3 V0 对地接电阻470-2K
//PIN4 RS R...
温度传感器DHT11/22……
Source code //----------------------------------------------------
#include
//----------------------------------------------------
float DHT_WD = 0, DHT_SD = 0;
const int...