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.
Fork of DMX by
Diff: DMX.h
- Revision:
- 4:dd0544c80096
- Parent:
- 3:2eb66b4d99bd
- Child:
- 5:72039cd4c874
diff -r 2eb66b4d99bd -r dd0544c80096 DMX.h
--- a/DMX.h Fri Sep 28 03:31:02 2012 +0000
+++ b/DMX.h Wed Nov 21 01:44:21 2012 +0000
@@ -27,6 +27,7 @@
DMX_MODE_MAB,
DMX_MODE_DATA,
DMX_MODE_ERROR,
+ DMX_MODE_STOP,
};
/** DMX512 class (sender/client)
@@ -51,7 +52,12 @@
*/
int get (int ch);
- void reset ();
+ /** Start DMX send
+ */
+ void start ();
+ /** Stop DMX send
+ */
+ void stop ();
volatile int is_recived, is_sent;
