Advertisement
lobmans

Untitled

Feb 17th, 2021
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. if(timersrc%10==0){
  2. digitalWrite(gpio,1);
  3. delay(2200);
  4. os_sprintf(payload, fltostr(ADSDATA[0]));
  5. MQTT_Publish(&mqttClient, "adcKK", payload, 4, 2, 0, 0);
  6. digitalWrite(gpio,0);
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement