Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: UIPEthernet mbed FCT_WEB hebergement
Fork of Nucleo_Web_ENC28J60 by
Diff: main.cpp
- Revision:
- 12:61b10a733ede
- Parent:
- 11:afb33350db83
- Child:
- 13:939e0fa0cd39
- Child:
- 14:c8b148c37fc4
--- a/main.cpp Tue Jul 28 20:24:02 2015 +0000
+++ b/main.cpp Wed Jul 29 18:02:03 2015 +0000
@@ -11,7 +11,7 @@
#include <UIPClient.h>
#include <string>
-// PC_0 (connectique Morpho) : Entrée Analogique (0 à 3.3V)
+// PC_5 (connectique Morpho) : Entrée Analogique (0 à 3.3V)
// Carte ENC28J60 <--> Nucleo F411RE
// PB_5 (connectique Morpho) : MOSI
@@ -20,7 +20,7 @@
// PB_6 (connectique Morpho) : CS
DigitalOut myled(LED1);
-AnalogIn a_in(PC_0);
+AnalogIn a_in(PC_5); // PC_5 au lieu de PC_0
using namespace std;
@@ -238,7 +238,7 @@
httpContent += buffer;
httpContent += "Seconds\r\n<hr>\r\n";
//----------------
- httpContent += "AnalogIn(PC_0) : ";
+ httpContent += "AnalogIn(PC_5) : ";
sprintf(buffer, "%.0f mV\r\n", meas);
httpContent += buffer;
httpContent += "<hr>\r\n<p>Usage Password Page :<p>http://host_or_ip/password<p><hr>\r\n";
