GithubHelp home page GithubHelp logo

Comments (5)

dwilches avatar dwilches commented on July 24, 2024

Hello Andrea,
To debug this issue, could you check if your device is sending the data by connecting to it with PuTTY?
This allows to know if the device is sending the data in an unexpected format.
Let me know how it goes.

from ardity.

Andrea-Loriedo avatar Andrea-Loriedo commented on July 24, 2024

Hi there, yes I have done and the data appears to be sent as expected. However, there is no output in the Unity console. I spent the whole of yesterday reading through your documentation and trying to fix this but no luck... Any more suggestions?

from ardity.

dwilches avatar dwilches commented on July 24, 2024

Which is the Arduino code you are running and which is the scene you are loading?

Could you try this program and tell me if you get anything in Unity with the scene DemoScene_AutoPoll?

unsigned long last_time = 0;

void setup()
{
    Serial.begin(9600);
}

void loop()
{
    if (millis() > last_time + 1000)
    {
        last_time = millis();
        Serial.println("Test message");
    }
}

from ardity.

Andrea-Loriedo avatar Andrea-Loriedo commented on July 24, 2024

Been loading the autopoll scene with the right COM port and baud rate set up, and the code I've been sending was basically the equivalent of what you posted but using the mbed library instead (my board is mbed enabled, not Arduino). The same exact code will work with an Arduino Uno but not with my mbed enabled Nucleo F401RE.

from ardity.

dwilches avatar dwilches commented on July 24, 2024

Can I take a look at your mbed code?

from ardity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.