Please help to make a DMX receiver via serial port, by analogy with the arduino.

Konstantin Kazancev's icon

Friends please help to make a DMX receiver via serial port in Max 7 by analogy with ArDMX - Simple DMX Receiver Code. Here are links to the project. http://playground.arduino.cc/DMX/Ardmx
http://www.hoelscher-hi.de/hendrik/light/ressources.htm
https://www.youtube.com/watch?v=jjQ1cS3cFx4#t=427.51608255