Mcreator Link Arduino

Started by Sm@rT on

Topic category: Help with MCreator software

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mcreator Link Arduino

Hello, 

I´m trying use the CustomMessages from examples for Arduino.

 

In code:

if(command.equals("customCommand1")) {
    // do something

     digitalWrite(13,HIGH); // I write this
  }

 

 

In game i don´t know how to use the command. I try:

 

/link sendmessage customCommand1?data

/link sendmessage customCommand

/link sendmessage customCommand?1

 

If I send  /link digitalwrite 13 1 it works, but I need Send Messages.

 

Any tip?

 

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Someone can help me ? =( 
Sat, 05/15/2021 - 21:42

Someone can help me ? =( 

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi did you find solution ? 
Sat, 09/25/2021 - 15:36

Hi did you find solution ?