File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ Welcome to FullIP
44
55FullIP for Arduino (https://github.com/bibi21000/arduino-fullip )
66
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.
89
910Applications availables :
1011
@@ -52,19 +53,6 @@ Install FullIP:
5253
5354In your sketch :
5455
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-
6856* Define a client (FTP in this example)
6957
7058 FtpClient ftpclient;
Original file line number Diff line number Diff line change 2222
2323 HttpServer http;
2424
25- * Initialize the SD ans start the HTTP server :
25+ * Initialize the SD and start the HTTP server :
2626
2727 pinMode(PIN_SD_CS, OUTPUT);
2828 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.
2424 * comment #define FULLIP_SD to disable SD or uncomment it to build
2525 ftpclient, httpserver, ...
2626
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+
2742* The pin CS are hardcoded in UIPEthernet and Ethernet libraires.
2843 Update the followings files if needed :
2944
You can’t perform that action at this time.
0 commit comments