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.
Revision 1:41d5b13f7fc5, committed 2018-11-23
- Comitter:
- jmanocs
- Date:
- Fri Nov 23 22:18:10 2018 +0000
- Parent:
- 0:dbffab632178
- Commit message:
- dht;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Apr 05 14:04:25 2017 +0000
+++ b/main.cpp Fri Nov 23 22:18:10 2018 +0000
@@ -3,10 +3,10 @@
//Tested with success on STM32 Nucleo L476
-DigitalIn mybutton(USER_BUTTON);
-Serial pc(SERIAL_TX, SERIAL_RX);
+DigitalIn mybutton(p20);
+Serial pc(USBTX, USBRX);
-DHT11 dht(A1);
+DHT11 dht(p15);
int main() {