Mcreator Link Arduino

Started by Sm@rT on

Topic category: Help with MCreator software

Active 3 years ago
Joined Feb 2020
Points:
621

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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?

 

Active 3 years ago
Joined Feb 2020
Points:
621

User statistics:

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

Someone can help me ? =( 

Active 3 years ago
Joined Sep 2020
Points:
580

User statistics:

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

Hi did you find solution ?