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
DMX Class Reference
DMX512 class (sender/client) More...
#include <DMX.h>
Public Member Functions | |
| DMX (PinName p_tx, PinName p_rx) | |
| init DMX class | |
| void | put (int addr, int data) |
| Send the data. | |
| void | put (unsigned char *buf, int addr=0, int len=DMX_SIZE) |
| Send the data. | |
| int | get (int addr) |
| Send the data. | |
| void | get (unsigned char *buf, int addr=0, int len=DMX_SIZE) |
| Send the data. | |
| void | start () |
| Start DMX send operation. | |
| void | stop () |
| Stop DMX send operation. | |
| void | clear () |
| Clear DMX data. | |
Detailed Description
DMX512 class (sender/client)
Definition at line 38 of file DMX.h.
Constructor & Destructor Documentation
| DMX | ( | PinName | p_tx, |
| PinName | p_rx | ||
| ) |
Member Function Documentation
| void get | ( | unsigned char * | buf, |
| int | addr = 0, |
||
| int | len = DMX_SIZE |
||
| ) |
| int get | ( | int | addr ) |
| void put | ( | int | addr, |
| int | data | ||
| ) |
| void put | ( | unsigned char * | buf, |
| int | addr = 0, |
||
| int | len = DMX_SIZE |
||
| ) |
Generated on Wed Jul 20 2022 05:54:08 by
1.7.2
