DCF77_Arduino_without Lib

Hey Ladies and Gentleman,

i have problem. i have to programming DCF77 outputs on a Arduino UNO but without any Libraries. I wrote a small programm to read the Pin 2 where the signal ist connected from the DCF77, but there ist no result or a result that gave me 2 instead to declare the pin 2.

My small Code:

#define signal 2 //DCF77 Signal über PIN 2 connecten

//int signal = 2; //Signal wurde an Pin 2 festgelegt
int eingangsbit = 0; //variable zum zwischenspeichern der Werte

void setup() {

pinMode(signal, INPUT); //Ausgang über signal ansteuern
digitalWrite(signal, HIGH);

Serial.begin(9600);

}

void loop() {

digitalWrite(signal, HIGH);

Serial.println(signal);
}

eingangsbit = is to buffer the values

ok now i have read the binary datas and put them in a buffer, but how can i save them in a array? i have wrote a char array with a large of 60 but, the datas there came in are timless... the bits flow per second 1 and 0.
This projekt is to be show a Time.

  Serial.println(signal);

What is this? Printing a pin number that never changes is pointless.

ok now i have read the binary datas and put them in a buffer

Not with the code you posted.

crazy_dcf:
My small Code:

#define signal 2 //DCF77 Signal über PIN 2 connecten

//int signal = 2; //Signal wurde an Pin 2 festgelegt
int eingangsbit = 0; //variable zum zwischenspeichern der Werte

void setup() {

pinMode(signal, INPUT); //Ausgang über signal ansteuern

From the comments in your small code it looks like your native language is German.

In the German forum I've posted a few DCF77 test sketches recently.

Code for showing pulses and their quality:
http://forum.arduino.cc/index.php?topic=331657.msg2293513#msg2293513

Code for decoding time (if pulse quality is sufficient):
http://forum.arduino.cc/index.php?topic=331657.msg2296542#msg2296542

If you'd like to discuss about the German DCF77 time code signal in German language, you could join that thread in the German forum.

P.S.: The loop() function code you posted above does nothing else but printing the pin number you declared. Perhaps better try reading the pin and print the result:

void loop() {
  Serial.println(digitalRead(signal));
}