hello everyone, can you guide me on how to write the code of modulation in c. i have carrier signal of 38Khz and i want to superimpose my data signal on it. when i detect high signal of 38Khz, i will pass the data. when i detect low signal of 38Khz, i will not pass the data. when again i detect high signal of 38Khz, i will again pass the remaining data. pls guide me on this i will be interfacing this with arm processor i.e LPC2378. but i want logic for modulation. thank you