File tree 3 files changed +18
-15
lines changed
3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ Welcome to FullIP
4
4
5
5
FullIP for Arduino (https://github.com/bibi21000/arduino-fullip )
6
6
7
- FullIP is a suite of ip protocols implementation for Arduino.
7
+ FullIP is a suite of ip protocols implementation for Arduino. It's
8
+ compatible with Ethernet/W5100 and UIPEthernet/ENC28j60.
8
9
9
10
Applications availables :
10
11
@@ -52,19 +53,6 @@ Install FullIP:
52
53
53
54
In your sketch :
54
55
55
- * import the Ethernet library or the UIPEthernet and the SD if needed
56
- :
57
-
58
- // For W5100
59
- //You must also update FullIP/FullIP.h
60
- #include <SPI.h>
61
- #include <Ethernet.h>
62
- //For enc28j60
63
- //You must also update FullIP/FullIP.h
64
- //#include <UIPEthernet.h>
65
- #include <SD.h>
66
- #include <FullIP.h>
67
-
68
56
* Define a client (FTP in this example)
69
57
70
58
FtpClient ftpclient;
Original file line number Diff line number Diff line change 22
22
23
23
HttpServer http;
24
24
25
- * Initialize the SD ans start the HTTP server :
25
+ * Initialize the SD and start the HTTP server :
26
26
27
27
pinMode(PIN_SD_CS, OUTPUT);
28
28
if (!SD.begin(PIN_SD_CS)) {
Original file line number Diff line number Diff line change @@ -24,6 +24,21 @@ FullIP is a suite of ip protocols implementation for Arduino.
24
24
* comment #define FULLIP_SD to disable SD or uncomment it to build
25
25
ftpclient, httpserver, ...
26
26
27
+ * Import it in your sketch :
28
+
29
+ * import the Ethernet library or the UIPEthernet and the SD if needed
30
+ :
31
+
32
+ // For W5100
33
+ //You must also update FullIP/FullIP.h
34
+ #include <SPI.h>
35
+ #include <Ethernet.h>
36
+ //For enc28j60
37
+ //You must also update FullIP/FullIP.h
38
+ //#include <UIPEthernet.h>
39
+ #include <SD.h>
40
+ #include <FullIP.h>
41
+
27
42
* The pin CS are hardcoded in UIPEthernet and Ethernet libraires.
28
43
Update the followings files if needed :
29
44
You can’t perform that action at this time.
0 commit comments