I am doing a project on using infrared temperature sensor and IR transmit-receive sensor together with an Arduino Uno board. I have run the code for each sensor separately and they all work well, but when I combine them in the same program, error occur. I have add some simple serial.print()(ie. Start program) for debugging, and there are only Mojibake show on the serial monitor. I had check the baud rate before but it did not help. Then I try to copy and paste the code directly from the successful code but error still occur. I did know know why this happen so I decided to comment some lines/functions to locate the error code. Finally I find that when I comment either one from the <IRSendRev.h> or <math.h>, the print out will work successfully. So I start to think that are these 2 header crush in my code?
I had search for many information from the Internet but I still cannot solve this error. Therefor I would like to ask for help if anyone can give me some hits to solve it out?
Thank you very much!!!
P.s. I am not at the lab right now so the code and error message will be post on tomorrow.