Problem in merging the two arduino code

ok sir. Thank you for your suggestion and time.

Did you Serial.print() the measured values?

Sir,
I am using serial connection to connect with cayenne…so not able to use serial monitor of arduino…
Because my COM port is already busy

Problem sort out now…
I have used 2nd arduino and done coding of ultrasonic sensor with two relay module which handle two different actuators…

By the way
Thank you sir for your cooperation…because of you i am not loosing my hope…still doing …and succeed…

Can you share the problem and how you solve it?

here is my codecode.txt (1.8 KB)

1 Like