Actually i'm try to setup the PIC kit like nigel's site.. when i'm trying to change the programming (.asm)... it has an error... so which one 'WORD' is not same between 16F628 and 16F84A??? so i can modified the programming...
Actually i'm try to setup the PIC kit like nigel's site.. when i'm trying to change the programming (.asm)... it has an error... so which one 'WORD' is not same between 16F628 and 16F84A??? so i can modified the programming...
As I've already mentioned in the other thread, the differences are very slight - if you check MicroChip's website there is a migration document which gives the (very few) differences required.
Those are the two lines you have to remove, the 16F628 has internal comparators which are turned ON by default - those two lines (writing to CMCON) turn the comparators OFF, making it look like a 16F84.
Those are the two lines you have to remove, the 16F628 has internal comparators which are turned ON by default - those two lines (writing to CMCON) turn the comparators OFF, making it look like a 16F84.
I would have thought it's fairly obvious?, the error message is quite explicit, the file path to your code is too long. Move it closer to the root directory, or use more sensible shorter directory names. MPASM itself (the MicroChip assembler) is only a 16 bit application, and so only handles short 8.3 filenames - MPLAB appears to act as a handler for MPASM (but I never use MPLAB, so I can't be sure), and sorts out the filenames, but appears to still have some limitations.
But really, your directory/file path shouldn't be approaching 62 characters!.
Thanks nigel, i was solve my problem.. the 'atferrari' was give some tip.. I was download your zip file for .asm and also the hardware. But the stepper motor tutorial is not there :!: ... TQ :lol:
Thanks nigel, i was solve my problem.. the 'atferrari' was give some tip.. I was download your zip file for .asm and also the hardware. But the stepper motor tutorial is not there :!: ... TQ :lol: