oscillator problem


Results 1 to 28 of 28

Threaded View

  1. #11
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kamikaze47 View Post

    didnt make a difference), the code im using is:

    Code:
    DEFINE OSC 10
     
    ADCON1=%01111111
     
    LCD_DB4         VAR PORTA.4
    LCD_DB5         VAR PORTA.2
    LCD_DB6         VAR PORTA.3
    LCD_DB7         VAR PORTB.0
    LCD_RS          VAR PORTA.0
    LCD_E           VAR PORTA.1
    LCD_Lines       CON 2    
    LCD_DATAUS      CON 50 
    LCD_COMMANDUS   CON 2000
     
    INCLUDE "LCD_AnyPin.pbp"
     
    PAUSE 200
     
    LCDOUT $FE,1,$FE,2,"Hello World!"
     
    END
    Do you remember PORTA.4 is an open collector pin ... ???

    ... and you could use pause 500+ instead of 200. some displays are a bit lazy ...
    Last edited by Acetronics2; - 4th September 2010 at 12:44.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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