This sketch only needs help with converting a char* (containing the data for a raw IRcommand) to an unsigned int!
i got this:
char* containing: data = 3950,4050,450,1050,500,2000,450,1050,500,2000,450,1050,450,1100,450,2000,450,2000,500,2000,450,1050,450,2050,450,1050,450,2050,450,1050,450,2050,450,1050,450,2000,500,2000,450,1050,450,1100,450,1050,450,2050,450,1050,450,2000,500
and i want to put in an unsigned int looking like this:
unsigned int cmd[51] = {3950,4050,450,2000,500,1950,500,2000,450,1050,500,1050,450,1050,500,2000,450,2000,500,1950,500,1050,500,1950,500,1050,500,1000,500,1050,450,1050,500,2000,450,2000,500,1950,500,1050,450,1050,500,1050,450,2000,500,1050,450,2000,500};
I'll post my entire code and hope for the best! (dont be to mean in youre comments! )
I need help with the last part of it, the funcktion i called "sendir"