Mcreator Link Arduino

Started by Sm@rT on Sat, 05/08/2021 - 21:38

Topic category: Help with MCreator software

Last seen on 14:49, 6. Jun 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mcreator Link Arduino
Sat, 05/08/2021 - 21:38

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?

 

Last seen on 14:49, 6. Jun 2021
Joined Feb 2020
Points:

User statistics:

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

Someone can help me ? =(