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

    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 21:36.

  2. #2
    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.

  3. #3
    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)

  4. #4
    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

  5. #5
    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.

  6. #6
    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.

  7. #7
    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 18:37.
    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 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 19:22.

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


    Did you find this post helpful? Yes | No

    Default

    Glad to hear you resolved the issue.

    When you say that language do you mean PicBASIC pro like
    Code:
    High BlinkyLED				' Set LED pin High
    	Pause 1000				' Wait one Second
    
    	LCDOUT "Hello Dj tempo"			' Write message
    	Low BlinkyLED				' Set LED pin Low
    	Pause 1000				' Wait one Second
    or do you mean Assembly code like
    Code:
    RRF	Send_bit, F
    	BTFSC	STATUS, C		; Test Carry if 1 then set output
    	BSF	OUTPUT
    	BTFSS	STATUS, C		; Test Carry if 0 then clear output
    	BCF	OUTPUT
    	BSF	Send_Count, 6
    	GOTO	Del_232
    If its PicBASIC have a look at http://www.crownhill.co.uk/product.php?prod=17
    http://www.mecanique.co.uk/products/compiler/pbp.html
    or for examples and more reference
    http://www.rentron.com/PicBasic/prod...CBASIC-PRO.htm

    Hope that helps

  10. #10
    Join Date
    Jun 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    cheers m8,
    i like the look of Pic bsic more as i find it easier to understand, so will be continuing in this language.

Similar Threads

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