Hello to all, can someone please help me to convert the following code from ATTiny85 to Pic 12f657?
------------------------------------------------
void setup() {
// initialize the digital pin as an output. We are using Pin 2 on the Attiny85 microcontroller
pinMode(2, OUTPUT);
digitalWrite(2, HIGH);// blink LEDs once to signal power on
delay(2000);
digitalWrite(2, LOW);
delay(7200000); // Wait 2 hours
}
void loop() {
digitalWrite(2, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(2, LOW); // set the LED off
delay(600000); //Wait 10 minutes
}
------------------------------------------------
void setup() {
// initialize the digital pin as an output. We are using Pin 2 on the Attiny85 microcontroller
pinMode(2, OUTPUT);
digitalWrite(2, HIGH);// blink LEDs once to signal power on
delay(2000);
digitalWrite(2, LOW);
delay(7200000); // Wait 2 hours
}
void loop() {
digitalWrite(2, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(2, LOW); // set the LED off
delay(600000); //Wait 10 minutes
}