I have the Arduino connected to Homeseer without issue.
I have a Ultrasonic sensor that requires a 10 ms HIGH written to the Output pin such as this:
// Clear the trigger pin
digitalWrite(triggerPIN, LOW);
delayMicroseconds(2);
// Sets the trigger on HIGH state for 10 micro seconds
digitalWrite(triggerPIN, HIGH);
delayMicroseconds(10);
digitalWrite(triggerPIN, LOW);
// wait for the echo
In order to read the value from the sensor as such:
durationMS = pulseIn(echoPIN, HIGH);
I'm assuming the way to do this with HomeSeer is to send the High signal from Homeseer? Can someone pls advise?
I have a Ultrasonic sensor that requires a 10 ms HIGH written to the Output pin such as this:
// Clear the trigger pin
digitalWrite(triggerPIN, LOW);
delayMicroseconds(2);
// Sets the trigger on HIGH state for 10 micro seconds
digitalWrite(triggerPIN, HIGH);
delayMicroseconds(10);
digitalWrite(triggerPIN, LOW);
// wait for the echo
In order to read the value from the sensor as such:
durationMS = pulseIn(echoPIN, HIGH);
I'm assuming the way to do this with HomeSeer is to send the High signal from Homeseer? Can someone pls advise?
Comment