Electronics Lab Philippines

C code to hex file

C code to hex file
« on: October 18, 2012, 12:15:22 PM »
Paano po macoconvert yung C code sa .hex file? 16F628A po yung PIC na gagamitin namin.

Offline dummy_c

  • *
  • 1602
  • 165
  • Gender: Male
  • If I die 2nyt, 8's bcoz maimai is not at my side!
Re: C code to hex file
« Reply #1 on: October 18, 2012, 12:40:25 PM »
Gamit ka ng compiler...
CCS, Hi Tech, MikroC, etc....
The world's technology is always changing, no doubt about it, and I hope itís a while yet before it impacts my ability to tinker.

Offline glutnix_neo

  • *****
  • 6526
  • 243
  • Gender: Female
  • I Kick Ass
    • Underground Workbench
Re: C code to hex file
« Reply #2 on: October 18, 2012, 12:42:38 PM »
Maginstall ka ng MPLAB, usually during the installation process tatanungin ka kung gusto mo rin magintall ng HiTech C compiler, iinstall mo rin yun...

then gawa ka ng project using project wizard, tatanungin ka kung ano compiler at location ng file na icocompile mo,
Peace Again, Amen!!!

Re: C code to hex file
« Reply #3 on: October 18, 2012, 01:04:52 PM »
na-install ko na po.. what to do next? thanks!

Offline glutnix_neo

  • *****
  • 6526
  • 243
  • Gender: Female
  • I Kick Ass
    • Underground Workbench
Re: C code to hex file
« Reply #4 on: October 18, 2012, 01:08:45 PM »
na-install ko na po.. what to do next? thanks!


Quote
then gawa ka ng project using project wizard, tatanungin ka kung ano compiler at location ng file na icocompile mo,
Peace Again, Amen!!!

Offline kaizer

  • ****
  • 4885
  • 227
Re: C code to hex file
« Reply #5 on: October 18, 2012, 01:15:29 PM »
^

then gawa ka ng program mo..

after mo magprogram, icompile mo.. if walang error upon compilation. may output file ka (.hex)


but di porket walang error sa pagcompile eh meaning working yung program mo,..