x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to integrate USART with UE4?

Hi there! There is a little question than had been bothering me for quite a while. As I learn electronics in my high school, I really like to build some cool electronic systems, including serial communication with the computer (USART). I am planning to build my own game controller (not something fancy, just a joystick, a microcontroller and couple of buttons) and I would really like to integrate it with some USEFUL programs (not just plain boring console programs in c/c++). So I have two related questions: a) Is it even possible? To communicate with the microcontroller I need to include (is that a problem?) b) Which is more efficient- Modifying the engine code (and where?) to support my controller OR just creating a bluepring class that will be an ControllerEventHandler that will send custom events when the microcontroller sends a message?

P.S.- My microcontroller is ATMEGA328P, and it communicates with the PC with simple USB serial communication (TX, RX.. not something complicated).

Product Version: Not Selected
Tags:
more ▼

asked Nov 25 '14 at 06:17 PM in C++ Programming

avatar image

Mickelbil84
30 4 3 8

avatar image Mickelbil84 Nov 27 '14 at 04:08 PM

UP........

avatar image Mickelbil84 Dec 01 '14 at 11:45 AM

....................................

avatar image Pierdek Dec 01 '14 at 12:10 PM

Implement your USART code as plugin then use it;)

Take a look on this: https://wiki.unrealengine.com/Category:Plug-ins

I would start from checking Hydra plugin code: https://wiki.unrealengine.com/Unofficial_Hydra_Plugin

avatar image Mickelbil84 Dec 01 '14 at 05:13 PM

Thank you very much! You really helped me!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The problem was solved...

more ▼

answered Dec 01 '14 at 05:14 PM

avatar image

Mickelbil84
30 4 3 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question