anthony123 said:
Thanksssssss!! But i know that part, the part that i dont know do is copile the code!! As well as it, i dont know what languaje is the algorimth!!
Help please!!
if you write software in basic (say MEL PICbasic using some editor , if you know basics of BASIC)), you need pic basic compiler to be able to compile and get HEX code.
Otherwise, suppose you write the software in Assy language, you can compile it using MPLAB IDE.
for a better understanding as to how to compile an assembly language code,
try to take an existing file. store it say in C:\ or say D:\ file . Don't store in folders like my documents or desktop-- the path becomes longer.
open MPLab
click open and load the file that you saved with .asm extension.
the file opens in another window
see the chip used there in a statement like "list p=p16f84"
now click "config" on the to bar of the mplab-- click "select device"
select the device for example -- same as what you find in the list statement
click"OK" and close that sub page
the click "project" and click "quickbuild"
If the file you have is correct, it will compile and store related files including .HEX file also in the same folder where you stored your original file
now call the programmer driver
say for example winpic800
here you select the Hardware form the options at the top as you might have JDM programmer select JDM
then select the chip for which you have the software hex file
insert the same type chip ( A BLANK ONE- otherwise you may have to erase the chip))in the location as specified by the programmer hardware
click" load", and select the hex file by browsing to the folder where the hex file just created is located and select it
it will appear in the window below.
then click program button.
if everything goes well and your PC and programmer are compatible and the programmer has been wired properly, it will result a programmed chip
a long description-- and all the best