Topic tags are required in the subject line - I added [PIC]. -Bob On Wed, Jan 16, 2013, at 03:46 PM, Sal wrote: > Hello, can someone please help me to convert the following code from > ATTiny85 > to Pic 12f657?=20 >=20 > ------------------------------------------------=20 >=20 > void setup() { =20 > // initialize the digital pin as an output. We are using Pin 2 on the > Attiny85 microcontroller=20 >=20 > pinMode(2, OUTPUT);=20 > =20 > digitalWrite(2, HIGH);// blink LEDs once to signal power on=20 > delay(2000);=20 > digitalWrite(2, LOW);=20 > delay(7200000); // Wait 2 hours=20 > }=20 >=20 > void loop() { =20 > digitalWrite(2, HIGH); // set the LED on=20 > delay(1000); // wait for a second=20 > digitalWrite(2, LOW); // set the LED off=20 >=20 > delay(600000); //Wait 10 minutes=20 > } >=20 >=20 >=20 > -- > View this message in context: > http://microcontrollers.2385.n7.nabble.com/please-help-me-convert-this-co= de-tp180084.html > Sent from the MicroControllers - PIC mailing list archive at Nabble.com. > --=20 > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.fastmail.fm - IMAP accessible web-mail --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .