You are reading a single comment by @Gustav and its replies. Click here to read the full conversation.
  • what happens if you just do:

    Bluetooth.setConsole(1);
    Serial1.setup(9600,{rx:D14});
    Serial1.on('data', function(d) {
      console.log("SERIAL:"+JSON.stringify(d))­;
    });
    
  • Found some useful information

    Reading data is done with getter functions and callback function pointers. For example, to get realtime data from the VESC, first set a callback to your function for handling the data using bldc_interface_set_rx_value_func and then request the data with bldc_interface_get_values.

    // Every time you want to read the realtime data you call the corresponding getter.
    // This will send the get command to the VESC and return. When the data is received
    // the callback will be called from the UART interface.
    bldc_interface_get_values();
    
About

Avatar for Gustav @Gustav started