I am now writing a program to control: 1. infra-red sensor, 2. infra-red remote, 3. x-bee, 4. optical encoder, 5. pressure sensor, all of the above using Arduino at the same time.
I had written several programs which can control individual parts successfully.
However, when I combine the program into ONE program, there are some problems for 4. optical encoder and 5. pressure sensor.
- optical encoder can only gives the negative values, while that 5. pressure sensor can give only "0" values all the time.
I would like to know if there are any collision between pressure sensor and encoder using Arduino???
Thanks for your kindly help!