Skip to content

Releases: RVillani/UE4Duino

Public module access, smaller include and style fixes

15 Jan 20:11
Compare
Choose a tag to compare
  • It's now possible to access USerial class from other modules. Headers were made public.
  • Including the class is now faster without the windows.h header include in Serial.h.
  • The windows.h header is not used anymore. The smaller Windows/MinWindows.h, from Unreal, is used instead.
  • Some code and comment style fixes are in place.

Fix Serial class export to external code

16 Apr 18:47
Compare
Choose a tag to compare

The Serial class was missing the UE4DUINO_API macro that exports it for usage on code outside the plugin.
Also fixed initialization order of members in class's constructor.

The code is still compatible with UE 4.21, in case anyone wants to build for it. Just remove the engine version specifier from .uplugin.

Fix bug that prevented port opening.

11 Oct 09:41
Compare
Choose a tag to compare

Fix shameful bug that prevented port from opening because when I refactored the code to 4.20, I deleted the port number from the string that requests the port to Windows.

Thanks yuanny on the forums for pointing that out!

Updated to UE 4.20

05 Sep 15:56
Compare
Choose a tag to compare

FString::Printf usage updated to accomodate to UE 4.20 update.

HotFix for crash when using ReadLine with no data from Arduino

27 Jun 00:07
Compare
Choose a tag to compare

2.2.1 HotFix!

No more crashes when ReadLine is used and there's no data to be read in COM.

v2.2 - new utilities for byte conversion

07 Jun 01:49
Compare
Choose a tag to compare

2.2 Update!

What's new

4 new utility nodes for converting from and to bytes/int/float:

  • BytesToInt — Convert 4 bytes in little-endian order into an Integer.
  • BytesToFloat — Convert 4 bytes in IEEE 754 standard into a Float.
  • IntToBytes — Convert an Integer value into 4 bytes in little-endian order.
  • FloatToBytes — Convert a Float value into 4 bytes matching the IEEE 754 standards.

example5