SerialComm4UnrealEngine
Realize serial communication in Unreal Engine 4.
- You should open your Unreal Editor and choose or create one project.
- Then in the editor, File->New C++ Class.., choose Actor and click Next button, name your new Actor like SerialUtls, and click Create Class button.
- Copy the content of the .h and .cpp file to your new class, be sure to change SERIALPORTS_API to your project's name_API accordingly.
- Finally, you can write data to the serial port. Have fun!