Hi, I have to send a structure of datas (200 bytes more or less) in Json format but I have read in this forum that there is a limit of 32 bytes to send information using I2C. I am trying to create a manual json strucuture but I have problems to create a dinamic array. Please, Can you help me to create "cadena_temperatura" :
char ID_SEN[]="101";
char H_DISPOSITIVO[]="ARDUINO NANO V3.0/NRF24L01+";
char H_SEN[]="DHT11 Sensor de Temperatura y Humedad";
char DESCTEMP[]="Temperatura";
char ACCESSTEMP[]="R";
float temperatura = 0;
int PERIOD=60;
char UNITSTEMP[]="ºC";
char codigo [2];
char cadena_temperatura[255];
In this code, ID_SEN, H_DISPOSITIVO and H_SEN aren't variables, they are just text in the string. More of a task ahead if you want the arrays contents in their place.