Skip to content

A Godot plugin to read Arduino serial input

License

Notifications You must be signed in to change notification settings

Team-ROUS/GDSerCommPlugin

 
 

Repository files navigation

GDSerCommPlugin

A Godot plugin to read Arduino serial input

Dependencies

Installation

Build binaries

Windows 10 64-bit

  • In Powershell run these commands
git clone --depth=1 [email protected]:Superwaitsum/GDSercomm.git
cd .\GDSercomm\
git clone --depth=1 -b 3.4 [email protected]:GodotNativeTools/godot_headers.git
git clone --depth=1 [email protected]:ingeniamc/sercomm.git
cd .\sercomm\
cmake -S. -Bbuild
cmake --build build
cd ..
cp .\sercomm\build\config.h .\sercomm\include\public\sercomm\
mkdir lib
cp .\sercomm\build\Debug\sercomm.lib .\lib\
cp .\sercomm\build\Debug\sercomm.dll .\lib\
scons p=windows
cp .\lib\sercomm.lib .\bin\
  • Now you should have all your .dll in the GDSercomm/bin folder

Ubuntu 18.04

  • In terminal run these commands
git clone --depth=1 [email protected]:Superwaitsum/GDSercomm.git
cd GDSercomm/
git clone --depth=1 -b 3.4 [email protected]:GodotNativeTools/godot_headers.git
git clone --depth=1 [email protected]:ingeniamc/sercomm.git
cd sercomm/
cmake -H. -Bbuild
cmake --build build
cd ..
cp sercomm/build/config.h sercomm/include/public/sercomm/
mkdir lib
cp sercomm/build/libsercomm.so lib/
scons p=linux
cp lib/libsercomm.so bin/
cp bin/libsercomm.so /usr/lib
ldconfig
  • Now you should have all your .so in the GDSercomm/bin folder

OSX

  1. Run
make
  1. Run the project.godot

Plugin

  • Git clone repo into your addons folder in the root of your project.
  • Inside the editor got to Project->Projects Settings->Plugins and activate "Serial Communication"

Screenshot

Screenshot

About

A Godot plugin to read Arduino serial input

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 72.3%
  • GDScript 26.2%
  • Makefile 1.5%