Slow Updating of received serial data to Dashboard

Hi Everyone,

I’m new to the use of Cayenne for IoT applications, and trying to get a simple communication between an ESP8266 and a TI MSP432 up and running. I’m receiving data from the MSP432 but the variables are being updated very slowly on the My Devices Console side of things.

My test button works with no lag however, I was wondering if using USART slows down the variables being updated.

Thanks for any help you can provide.

My Code:

#include <CayenneMQTTESP8266.h>

char ssid = “Gator”;
char password = “gators123”;

// Values Removed
char username = “”;
char mqtt_password = “”;
char client_id = “”;
int8_t L, R;

void setup() {
// put your setup code here, to run once:
Cayenne.begin(username, mqtt_password, client_id, ssid, password);
pinMode(2, OUTPUT);
digitalWrite(2, HIGH);

void loop() {
// put your main code here, to run repeatedly:
L =;
R =;
Cayenne.virtualWrite(1, L, “Random”, “% Left”);
Cayenne.virtualWrite(2, R, “Random”, “% Right”);

digitalWrite(2, !getValue.asInt());

Dont send data from main loop Sending MQTT messages within rate limits

1 Like

Thank you so much!