Hello everyone
i was programming for home automation system comprises of relays and dimmers with IR remote blaster(Sending)
i was reading data from through serial and parsing information to char and integer variables to change states of relay(Char var) integer value for dimmers
Now there is scenario i have to receive such large data of raw ir values to use IR blaster
unsigned int irSignal = {9000, 4500, 560, 560, 560, 560, 560, 1690, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1690, 560, 1690, 560, 560, 560, 1690, 560, 1690, 560, 1690, 560, 1690, 560, 1690, 560, 560, 560, 560, 560, 560, 560, 1690, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1690, 560, 1690, 560, 1690, 560, 560, 560, 1690, 560, 1690, 560, 1690, 560, 1690, 560, 39416, 9000, 2210, 560}; //AnalysIR Batch Export (IRremote) - RAW
Method i implemented
i was receiving the data though serial and storing in a string ,later i use strtok using , as delimiter and storing them in array.
Problem
when i implemented above serial.readString was missing few packets
looking for sugesstions