Code Monkey home page Code Monkey logo

Comments (1)

jguille2 avatar jguille2 commented on August 30, 2024

Hi Raphaël ( @drzraf )
I guess everybody is using FirmataWifi with ESP8266... but you can play over serial USB.
Three tips:

  • I have to add one line to StandardFirmata code, because pins 1 and 3 are the TX and RX pins so they have to be ignored or they will cause conflicts when using the USB serial connection
    The line is
    if (i == 1 || i == 3) continue;
    and it have to be added after
  for (byte i = 0; i < TOTAL_PINS; i++) {
    // pins with analog capability default to analog input
    // otherwise, pins default to digital output
  • And you know, when you are connecting from Snap4Arduino (while it is trying to connect...) you have to press 'reset' button on your NodeMCU
  • And I see (testing now for answering your question) that the disconnect action is not well configured for this board. Then, you have to re-plug your USB after a disconnection... to be able to reconnect.

Joan

from snap4arduino.

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.