cgnerds / SerialComm4UnrealEngine

Realize serial communication in Unreal Engine 4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SerialComm4UnrealEngine

Realize serial communication in Unreal Engine 4.

  1. You should open your Unreal Editor and choose or create one project.
  2. 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.
  3. 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.
  4. Finally, you can write data to the serial port. Have fun!

About

Realize serial communication in Unreal Engine 4.


Languages

Language:C++ 100.0%