long mapp()
{
return 6249;
}
void setup() {
Serial.begin(9600);
int frq1 = mapp(); //<-------- doesnt match return type
long frq2 = mapp(); //<-------- matches return type
int duty1 = (frq1*10)/19;
int duty2 = (frq2*10)/19;
Serial.println(duty1);
Serial.println(duty2);
}
void loop() {
// put your main code here, to run repeatedly:
}