Skip to content

Commit 67a42a9

Browse files
committed
Remove the license from the Ethernet Simple example
1 parent 54bdf06 commit 67a42a9

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

examples/Ethernet-Simple/Ethernet-Simple.ino

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,20 @@
1-
/*
2-
* hackAIR Arduino Library
3-
* Copyright © 2016-2017 hackAir Consortium
4-
*
5-
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU Lesser General Public License as published
7-
* by the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU Lesser General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU Lesser General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
*/
18-
191
/**
20-
* @file Ethernet node example sketch
2+
* @file Ethernet - Simple Example
3+
* This example sets up the Ethernet shield and sends data to the hackAIR
4+
* platform every one minute.
5+
*
216
* @author Thanasis Georgiou
7+
*
8+
* This example is part of the hackAIR Arduino Library and is available
9+
* in the Public Domain.
2210
*/
2311

2412
#include <Ethernet.h>
2513
#include "hackair.h"
2614
#include "hackair_ethernet.h"
2715

2816
// MAC Address of the Ethernet Shield
29-
// Nnewer shields should have a MAC address printed on a sticker
17+
// Shields have a MAC address printed on a sticker
3018
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
3119

3220
// Initialize the Ethernet client library and the hackAir helper class
@@ -56,6 +44,7 @@ void setup() {
5644

5745
void loop() {
5846
// Check DHCP lease
47+
// This is required to maintain the internet connection for long periods of time
5948
Ethernet.maintain();
6049

6150
// Collect data

0 commit comments

Comments
 (0)