do you mean MPLAB IDE 7.60? as i have just downloaded.
what do you mean by quick build?
i have tried many files including those of nigels but i still have problems converting to a HEX file.
do you mean MPLAB IDE 7.60? as i have just downloaded.
what do you mean by quick build?
i have tried many files including those of nigels but i still have problems converting to a HEX file.
I have ver 7.50, but its more or less the same.
Copy Mister_e's code from the post above. launch MPLAB and select FILE > NEW from the tool bar options. A blank window will appear called UNTITLED and the cursor will be blinking at the top left.
Paste the code into the window, the window will change to UNTITLED*
Select CONFIGURE > SELECT DEVICE from the toolbar options, and select the chip you are using from the drop down list and click OK
Select FILE > SAVE AS from the toolbar options and select the root of the C drive as the location to save the file to. Give it a name, say LCD and in the file type select the second option ( Assembly source files). Now click on SAVE - The window will now be titled LCD.asm
From the toolbar select PROJECT > QUICKBUILD LCD.ASM
The MPSAM window should pop up and compile the code, and a window called OUTPUT should appear with the summary of the build.
You should then be able to locate the LCD.HEX file in the root of C:
Hope this helps
so far so good untill i select quick build.
it says (no.asm file)
do i have to upload the file to it somehow?
if i click open it will only let me load an .mcp file
Last edited by Dj tempo; - 19th June 2007 at 22:36.
its definatley highlighted as the cursor is flashing,
but still shows(no .asm file)
So let me confirm that you have pasted the text into that window, then saved it to the root of C: as an asm file ( don't just click on save as it will default to the first file format in the list). If there is text in that window, and its saved as an asm file, its hilighted, then there should be no reason why the project won't quick build, or at least none that I can see
3rd or 4th method, close all files, all project.
Click on, project>>project wizard
then click on next
select your PIC16F84A
then click on next
Select Microchip MPASM Toolsuite and make sure MPASM assembler (mpasmwine.exe) is highlighted
then click on next
Click on Browse
Make sure you're in the right folder,
Eneter your Project Name
Then click on Save
Then Click on Next
Find the .ASM file i provided
Click on it,
then click on ADD>>
Then click on next
VOILA you're ready to compile using F10
HTH
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
cheers malcom, thats now worked, downloaded the hex on to my PIC.
But still having problems, only showing line 1 and 3 full of solid blocks.
My .ASM will work... but Melanie's Example is setuped for a 2 LINES LCD
so just change the following
toCode:Define LCD_LINES 2 ' Using 2 line Display
OR use the corrected .HEX in attachmentCode:Define LCD_LINES 4 ' Using 4 line Display
Last edited by mister_e; - 20th June 2007 at 19:37.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
cheers mister e, just found out it was a problem with my code as i am fairly new to it, but i went over my circuit with a fine tooth comb, litteraly,
using a magnifying glass i was able to just make out a solder bridge between pin 6 and the data lines next to it which are grounded, therefore was not getting a signal. this will have only happend after i grounded them as mel said in an earlier post, as they had not been toutched previousley.
cheers every one for your help and for putting up with me.
dont worry i aint running away, ill be back soon to annoy every one again, haha
does any one know any sites with information on so i can learn how to program more in that language?
thanx
Last edited by Dj tempo; - 20th June 2007 at 20:22.
Bookmarks