Skip to content

Commit 6f0c593

Browse files
committed
Correct typos in documentation
1 parent 56ab3e9 commit 6f0c593

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

docs/api.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#### Description
88

9-
Initializes the ethernet library and network settings.
9+
Initializes the Ethernet library and network settings.
1010

1111
With version 1.0, the library supports DHCP. Using Ethernet.begin(mac) with the proper network setup, the Ethernet shield will automatically obtain an IP address. This increases the sketch size significantly. To make sure the DHCP lease is properly renewed when needed, be sure to call Ethernet.maintain() regularly.
1212

@@ -2107,7 +2107,7 @@ void loop() {
21072107
Serial.print(", port ");
21082108
Serial.println(Udp.remotePort());
21092109
2110-
// read the packet into packetBufffer
2110+
// read the packet into packetBuffer
21112111
Udp.read(packetBuffer,UDP_TX_PACKET_MAX_SIZE);
21122112
Serial.println("Contents:");
21132113
Serial.println(packetBuffer);
@@ -2432,7 +2432,7 @@ void loop() {
24322432
Serial.print(", port ");
24332433
Serial.println(Udp.remotePort());
24342434
2435-
// read the packet into packetBufffer
2435+
// read the packet into packetBuffer
24362436
Udp.read(packetBuffer,UDP_TX_PACKET_MAX_SIZE);
24372437
Serial.println("Contents:");
24382438
Serial.println(packetBuffer);
@@ -2597,7 +2597,7 @@ void loop() {
25972597
Serial.print(", port ");
25982598
Serial.println(Udp.remotePort());
25992599
2600-
// read the packet into packetBufffer
2600+
// read the packet into packetBuffer
26012601
Udp.read(packetBuffer,UDP_TX_PACKET_MAX_SIZE);
26022602
Serial.println("Contents:");
26032603
Serial.println(packetBuffer);

docs/readme.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ The Arduino board communicates with the shield using the SPI bus. This is on dig
88

99
![Arduino MEGA Pin map.](./arduino_mega_ethernet_pins.png)
1010

11-
```
1211
To use this library
12+
13+
```
1314
#include <SPI.h>
1415
#include <Ethernet.h>
1516
```

examples/BarometricPressureWebServer/BarometricPressureWebServer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ void writeRegister(byte registerName, byte registerValue) {
216216

217217
//Read register from the SCP1000:
218218
unsigned int readRegister(byte registerName, int numBytes) {
219-
byte inByte = 0; // incoming from the SPI read
219+
byte inByte = 0; // incoming from the SPI read
220220
unsigned int result = 0; // result to return
221221

222222
// SCP1000 expects the register name in the upper 6 bits

examples/UDPSendReceiveString/UDPSendReceiveString.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void loop() {
8383
Serial.print(", port ");
8484
Serial.println(Udp.remotePort());
8585

86-
// read the packet into packetBufffer
86+
// read the packet into packetBuffer
8787
Udp.read(packetBuffer, UDP_TX_PACKET_MAX_SIZE);
8888
Serial.println("Contents:");
8989
Serial.println(packetBuffer);

examples/WebClientRepeating/WebClientRepeating.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Repeating Web client
33
4-
This sketch connects to a a web server and makes a request
4+
This sketch connects to a web server and makes a request
55
using a WIZnet Ethernet shield. You can use the Arduino Ethernet Shield, or
66
the Adafruit Ethernet shield, either one will work, as long as it's got
77
a WIZnet Ethernet module on board.
@@ -104,7 +104,7 @@ void loop() {
104104
// this method makes a HTTP connection to the server:
105105
void httpRequest() {
106106
// close any connection before send a new request.
107-
// This will free the socket on the WiFi shield
107+
// This will free the socket on the Ethernet shield
108108
client.stop();
109109

110110
// if there's a successful connection:

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=2.0.0
33
author=Various (see AUTHORS file for details)
44
maintainer=Paul Stoffregen <[email protected]>, Arduino <[email protected]>
55
sentence=Enables network connection (local and Internet) using the Arduino Ethernet Board or Shield.
6-
paragraph=With this library you can use the Arduino Ethernet (shield or board) to connect to Internet. The library provides both Client and server functionalities. The library permits you to connect to a local network also with DHCP and to resolve DNS.
6+
paragraph=With this library you can use the Arduino Ethernet (shield or board) to connect to Internet. The library provides both client and server functionalities. The library permits you to connect to a local network also with DHCP and to resolve DNS.
77
category=Communication
88
url=https://www.arduino.cc/en/Reference/Ethernet
99
architectures=*

0 commit comments

Comments
 (0)