Hey,
I'm using a slightly modified Version of the DCF77 Lib.
When i use it like that:
DCF77 DCF( Pin );
Void setup()
{}
Void loop()
{}
The code is compiled correctly but get's stuck somewhere in runtime. I don't know where, because serial.print doesn't work also. So it must hung up some where in the constructor. But the constructor just set's up some variables.
But when i use it like that:
Void setup()
{
DCF77 DCF( Pin );
}
Void loop()
{}
the code runs exactly as expected. BUT: the Lib is just local in setup and not usable in the project.
How can this be possible and how can I fix it?
Thanks and regards.