return = திருப்பு
Return a value from a function to whoever called the function.
Example
int checkSensor(){
if (analogRead(0) > 400) {
return 1;
else{
return 0;
}
}
int checkSensor(){
if (analogRead(0) > 400) {
return 1;
else{
return 0;
}
}