Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
fpachays
Date:
Sat Feb 08 19:34:22 2020 +0000
Commit message:
Practica_libreria

Changed in this revision

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/main.cpp	Sat Feb 08 19:34:22 2020 +0000
@@ -0,0 +1,19 @@
+#ifndef MBED_CONTROL_H
+#define MBED_CONTROL_H
+#include "device.h"
+#include "platform.h"
+#include "PinNames.h"
+#include "PeripheralNames.h"
+#include "Base.h"
+namespace mbed
+{
+    class leds : public Base
+    {
+        public:
+        Leds (PinName pin);
+        bool write ();
+        protected:
+        
+        pin=PB_0;
+        };
+        
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Feb 08 19:34:22 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file