Hi everybody
Is it anyone who can help a newbie like me to program arduino with e18-d80nk to make a voicecall
here is the code for the sensor:
#define SignalPin 13
void setup() {
Serial.begin (9600);
pinMode(SignalPin, INPUT);
}
void loop() {
int Signal = 0;
Signal = digitalRead(SignalPin);
if (Signal == 1){
Serial.print (Signal);
Serial.println(" no obstacle");
}
else {
Serial.print (Signal);
Serial.println(" object detected");
}
delay(500);
}
Thanx