hi im using irremote esp8266 function resultstosourcecode and its giving me output as
uint16_t rawData[67] = {9028, 4462, 610, 1628, 610, 532, 608, 532, 608, 532, 608, 532, 608, 530, 608, 534, 606, 532, 608, 1630, 608, 532, 608, 1628, 634, 1644, 608, 1630, 608, 1630, 608, 1630, 608, 1628, 610, 532, 606, 1632, 608, 530, 606, 1632, 608, 532, 608, 530, 606, 1632, 634, 1644, 608, 1630, 606, 532, 606, 1630, 608, 532, 606, 1630, 608, 1630, 608, 530, 608, 530, 606}; // NEC 80BF53AC
uint32_t address = 0xFD01;
uint32_t command = 0xCA;
uint64_t data = 0x80BF53AC;
for the following code
Serial.print(resultToSourceCode(&results));
i want to send only raw data as a json object
this is the git page addressing how to do it but since im a newbie i couldnt get it
the rawticks function is a legacy function
ive tried pasting this but getting an error as: volatile uint16_tcant be converted to uint16_t then i definedit as volatile but still getting error
uint16_t rawdata[] = {}; for(int i=0; i < sizeof(capture.rawbuf); i++){ rawdata[i] = capture.
r
awbuf[i] * RAWTICK; }
i used uint32_t and started indeing from 1 rather than zero but im getting the volatile coversion error
and the admin mentioned not to use the arraylength what am i supposed use then?