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: mbed HeptaBattery HeptaTemp
Revision 16:022f6b8155ce, committed 2019-08-17
- Comitter:
- HEPTA
- Date:
- Sat Aug 17 08:41:00 2019 +0000
- Parent:
- 15:f503382088ea
- Child:
- 17:100ec053eb3b
- Commit message:
- Added sentence to make EN pin high
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Sep 08 07:23:57 2017 +0000
+++ b/main.cpp Sat Aug 17 08:41:00 2019 +0000
@@ -3,9 +3,11 @@
Serial pc(USBTX, USBRX);
HeptaTemp temper(p17);
+DigitalOut EN(p26);
int main()
{
+ EN = 1; // EN pin : high
pc.baud(9600);
float temp;
for (int i=0;i<10;i++) {