查看Ethernet库的源代码
←
Ethernet库
跳转至:
导航
、
搜索
因为以下原因,你没有权限编辑本页:
你刚才请求的操作只对属于该用户组的用户开放:
用户
您可以查看并复制此页面的源代码:
{| border="0" cellpadding="10" width="100%" |- |width="30%" valign="top" align="left"| With the Arduino Ethernet Shield, this library allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports up to four concurrent connection (incoming or outgoing or a combination). Arduino communicates with the shield using the SPI bus. This is on digital pins 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used as SS. On the Mega, the hardware SS pin, 53, is not used to select the W5100, but it must be kept as an output or the SPI interface won't work. <font color="orange" size="+2">'''Examples'''</font><br> UDPSendReceiveString: Send and receive text strings via UDP. UdpNtpClient: Query a Network Time Protocol (NTP) server using UDP. DnsWebClient: DNS and DHCP-based Web client. DhcpChatServer: A simple DHCP Chat Server DhcpAddressPrinter: Get an IP address via DHCP and print it out TelnetClient: A simple Telnet client :-[[ ChatServer]]: set up a simple chat server. :-[[ WebClient]]: make a HTTP request. :-[[ WebClientRepeating]]: Make repeated HTTP requests. :-[[ WebServer]]: host a simple HTML page that displays analog sensor values. :-[[ BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page. :-[[ UDPSendReceiveString]]: Send and receive text strings via UDP. :-[[ UdpNtpClient]]: Query a Network Time Protocol (NTP) server using UDP. :-[[ DnsWebClient]]: DNS and DHCP-based Web client. :-[[ DhcpChatServer]]: A simple DHCP Chat Server :-[[ DhcpAddressPrinter]]: Get an IP address via DHCP and print it out :-[[ TelnetClient]]: A simple Telnet client |width="10%" valign="top" align="left"| <!-- 空白 --> |width="30%" valign="top" align="left"| <br><br><br> <font color="orange" size="+2">'''SD Class'''</font><br> '''The SD class provides functions for accessing the SD card and manipulating its files and directories.''' :-[[SD:begin()| begin()]] :-[[SD:exists()| exists()]] :-[[SD:mkdir()| mkdir()]] <br><br> <font color="orange" size="+2">'''File class'''</font><br> '''The File class allows for reading from and writing to individual files on the SD card.''' :-[[SD:available()| available()]] <br><br> <font color="orange" size="+2">'''File class'''</font><br> '''The File class allows for reading from and writing to individual files on the SD card.''' :-[[SD:available()| available()]] :-[[SD:close()| close()]] :-[[SD:flush()| flush()]] :-[[SD:peek()| peek()]] :-[[SD:position()| position()]] :-[[SD:print()| print]] :-[[SD:println()| println()]] <br><br> <font color="orange" size="+2">'''File class'''</font><br> '''The File class allows for reading from and writing to individual files on the SD card.''' :-[[SD:available()| available()]] :-[[SD:close()| close()]] :-[[SD:flush()| flush()]] :-[[SD:peek()| peek()]] :-[[SD:position()| position()]] :-[[SD:print()| print]] :-[[SD:println()| println()]] :-[[SD:seek()| seek()]] :-[[SD:size()| size()]] :-[[SD:read()| read()]] :-[[SD:write()| write()]] :-[[SD:isDirectory()| isDirectory()]] <br> <font color="orange" size="+2">'''SD Class'''</font><br> '''The SD class provides functions for accessing the SD card and manipulating its files and directories.''' :-[[SD:begin()| begin()]] :-[[SD:exists()| exists()]] :-[[SD:mkdir()| mkdir()]] :-[[SD:open()| open()]] :-[[SD:remove()| remove()]] :-[[SD:rmdir()| rmdir()]] :-[[SD:mkdir()| mkdir()]] :-[[SD:open()| open()]] :-[[SD:remove()| remove()]] :-[[SD:rmdir()| rmdir()]] |width="10%" valign="top" align="left"| <!-- 空白 --> |} ---- [[Arduino库|返回Arduino库菜单]] [[首页|返回首页]] 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛]
返回
Ethernet库
。
导航菜单
个人工具
登录
名字空间
页面
讨论
不转换
变种
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
YF-论坛提问
YFRobot-直营店
YFRobot-企业店
Arduino
Arduino之入门篇
Arduino入门教程
Arduino语法参考
Arduino库
Arduino核心代码
编程平台
Mixly库
Mind+库
MakeCode扩展
传感器系列
积木式传感器系列
黑板传感器系列
蓝板传感器系列
Micro:Bit
Micro:Bit 通用基础教程
Valon智能车
Valon-I
帮助
帮助
wiki语法参考
工具箱
链入页面
相关更改
特殊页面
页面信息