An initial port to the FRDM-K46Z based on the the following: https://developer.mbed.org/users/okini3939/notebook/dmx512/
Fork of DMX by
Need to update the UART references to the K46Z. The KE02 Sub-Family Reference Manual provides us with the required information.
The modifications are wrapped with the target for the K46: For example, defined(TARGET_KL46Z)
Diff: DMX.h
- Revision:
- 19:8a86e35e54a9
- Parent:
- 18:6303931e4102
diff -r 6303931e4102 -r 8a86e35e54a9 DMX.h --- a/DMX.h Fri Mar 13 17:36:48 2015 +0000 +++ b/DMX.h Thu Mar 26 17:09:33 2015 +0000 @@ -78,6 +78,10 @@ /** Clear DMX data */ void clear (); + + /** Get the receiver Mode + */ + int get_mode_rx(){return mode_rx;} volatile int is_recived, is_sent;