no text on LCD


Closed Thread
Results 1 to 31 of 31

Thread: no text on LCD

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    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.

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    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

  3. #3
    Join Date
    Jun 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    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.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dj tempo View Post
    so far so good untill i select quick build.
    it says (no.asm file)
    do i have to upload the file to it somehow?
    Make sure the window that is showing the .asm file is 'highlighted' (has the focus, active, whatever you want to call it), then click the quick build menu option.

  5. #5
    Join Date
    Jun 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    its definatley highlighted as the cursor is flashing,
    but still shows(no .asm file)

  6. #6
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dj tempo View Post
    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
    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

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    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.

  8. #8
    Join Date
    Jun 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    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.

  9. #9
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    My .ASM will work... but Melanie's Example is setuped for a 2 LINES LCD

    so just change the following
    Code:
    	Define LCD_LINES 2			' Using 2 line Display
    to
    Code:
    	Define LCD_LINES 4			' Using 4 line Display
    OR use the corrected .HEX in attachment
    Attached Files Attached Files
    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.

  10. #10
    Join Date
    Jun 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    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.

Similar Threads

  1. Replies: 2
    Last Post: - 5th November 2009, 18:07
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. LCD issue with EasyPIC5
    By manwolf in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 15th June 2008, 10:17
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts