hex?

 please give me the hex file for this this is urrgent and if do this i follow you 
i get a error when i compile it
/*
  Experiment No. 7: Playing Happy Birthday Tune with PIC12F683
  Compile with MikroC Pro for PIC
  Internal clock @ 4.0 MHz, MCLR disabled, PWRT OFF

*/

void Delay_100(){
 Delay_ms(100);
}

void main() {
CMCON0 = 7;
TRISIO = 0b00001000; // GP5, 5 I/P's, Rest O/P's
GPIO = 0;
Sound_Init(&GPIO,2); // Initialize sound o/p pin


do {

   Sound_Play(262, 400); // Hap
   Delay_100();
   Sound_Play(262, 400); // Py
   Delay_100();
   Sound_Play(294, 800); // Birth
   Delay_100();
   Sound_Play(262, 800); // Day
   Delay_100();
   Sound_Play(349, 800); // To
   Delay_100();
   Sound_Play(330, 1000); // You
   Delay_100();
   Delay_100();
   // Another Para
   Sound_Play(262, 400); // Hap
   Delay_100();
   Sound_Play(262, 400); // Py
   Delay_100();
   Sound_Play(294, 800); // Birth
   Delay_100();
   Sound_Play(262, 800); // Day
   Delay_100();
   Sound_Play(392, 800); // To
   Delay_100();
   Sound_Play(349, 1000); // You
   Delay_100();
   Delay_100();
   // Another Para
   Sound_Play(262, 400); // Hap
   Delay_100();
   Sound_Play(262, 400); // Py
   Delay_100();
   Sound_Play(523, 700); // Birth
   Delay_100();
   Sound_Play(440, 800); // Day
   Delay_100();
   Sound_Play(349, 800); // Dear
   Delay_100();
   Sound_Play(330, 800); // XX
   Delay_100();
   Sound_Play(294, 700); // XX
   Delay_100();

   Sound_Play(466, 400); // Hap
   Delay_100();
   Sound_Play(466, 400); // Py
   Delay_100();
   Sound_Play(440, 700); // Birth
   Delay_100();
   Sound_Play(349, 800); // Day
   Delay_100();
   Sound_Play(392, 800); // To
   Delay_100();
   Sound_Play(349, 1600); // You $ $ $
   Delay_ms(1000); // Wait for 1 sec and replay

   }while(1);
}

sort by: active | newest | oldest
nodoubtman5 years ago
Please email me, i have corrected the errors :)

thanks! :)
CYa!
robot1398 (author)  nodoubtman5 years ago
mail the corrected code to me at rohit1398@gmail.com
the code is correct? you need the .hex file?

here is it :) i emailed yoU!: )
lemonie6 years ago

What do you mean by give me? That sounds rude.

Don't you have a compiler?

L
robot1398 (author)  lemonie6 years ago
i hav it but it gives a error

If you tell people what your error code it they are quite likely to be able to de-bug the source for you.

L
And if not, can't you get a compiler? There _MUST_ be basic C compilers available free for just about every computer architecture ever created, and if you want an IDE I'd bet Eclipse can be configured to work with most of them.
rickharris6 years ago
Just buy a M series Picaxe the have HBTY built in to every chip.