LCDOUT custom commands - how to?


Results 1 to 40 of 69

Threaded View

  1. #11
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Yes you can!

    Quote Originally Posted by flotulopex
    Mister_e don't worry, your eyes are absolutely fine ;-)

    I'm using ICProg to program the µC and the fuses are set in there since I can't pass this kind of settings from PBP.
    Hi flotulopex, I use IC PROG and I pass the config fuse data to it from code always. Which assembler are you using PBP or MPASM? Also what osc speed?
    Code:
    for MPASM try
    @MyConfig = _HS_OSC & _WDT_ON & _PWRTE_ON & _MCLRE_ON & _LVP_OFF 
    @MyConfig = MyConfig  & _CP_OFF & _BODEN_ON & _DATA_CP_OFF
    @ __config  MyConfig
    
    for PBP try
    @ DEVICE pic16F88, HS_OSC
    ' Set Oscillator Fuse in Programmer to high speed make XT for low speed
    @ DEVICE pic16F88, WDT_ON
    ' Watchdog Timer
    
    @ DEVICE pic16F88, PWRT_ON
    ' Power-On Timer
    
    @ DEVICE pic16F88, MCLR_ON 
    ' Master Clear Options (Internal)
    
    @ DEVICE pic16F88, BOD_OFF
    ' Brown-Out Detect
    
    @ DEVICE pic16F88, LVP_OFF
    ' Low-Voltage Programming
    
    @ DEVICE pic16F88, CPD_OFF
    ' Data Memory Code Protect
    ' Set to CPD_OFF for Development Copy
    ' Set to CPD_ON for Release Copy
    
    @ DEVICE pic16F88, PROTECT_OFF
    Also make sure to define your oscillator if you do not use default 4 mhz
    JS
    Last edited by Archangel; - 25th November 2006 at 10:00.

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 08:56
  2. need help in coding..
    By daphne8888 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 19th March 2008, 08:31
  3. Help GPS read with serin
    By leinske in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2007, 03:33
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 16:04
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 13:22

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