Fernanda Carrillo / Mbed 2 deprecated ledencendido

Dependencies:   mbed FXOS8700Q

Files at this revision

API Documentation at this revision

Comitter:
fernandac
Date:
Tue Apr 21 01:50:03 2020 +0000
Commit message:
led encendido

Changed in this revision

FXOS8700Q.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FXOS8700Q.lib	Tue Apr 21 01:50:03 2020 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/Freescale/code/FXOS8700Q/#aee7dea904e2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Apr 21 01:50:03 2020 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+DigitalIn buton (PTA4);
+Serial contador(USBTX, USBRX);
+int main() 
+{
+    while(1) {
+        myled = 1;
+        wait(5);
+        myled = 0;
+        wait(5);
+    } 
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Apr 21 01:50:03 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file