リョウ フジムラ / LED_tikatika

Files at this revision

API Documentation at this revision

Comitter:
jfryo
Date:
Fri Jul 10 23:44:34 2020 +0000
Commit message:
LED

Changed in this revision

tikatika.cpp Show annotated file Show diff for this revision Revisions of this file
tikatika.h Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tikatika.cpp	Fri Jul 10 23:44:34 2020 +0000
@@ -0,0 +1,5 @@
+#include "mbed.h"
+void toggle(DigitalOut x)
+{
+    x=!x;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tikatika.h	Fri Jul 10 23:44:34 2020 +0000
@@ -0,0 +1,7 @@
+#ifndef yueee_led_toggle_h
+#define yueee_led_toggle_h
+ 
+#include "mbed.h"
+void toggle(DigitalOut x);
+ 
+#endif
\ No newline at end of file