Generation

generate functionMon, 10 Apr 2023

funcion de Arduino IDE que manda un mqtt por SIM7080G requeire el topic y el mensaje

void sendmqtt(String topic, String mensaje) { if (mqtt.connected()){ mqtt.publish(topic,mensaje); Serial.println(topic); Serial.println(mensaje); } }

Want to kickstart your project?Use the new AI Studio to create your code