16F690 read/write


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: 16F690 read/write

    and I doubt your config setting is correct

    it could go like this , but why would you
    @MyConfig = _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON
    @MyConfig = MyConfig & _MCLRE_OFF & _BOR_OFF & _FCMEN_OFF & _IESO_OFF
    @ __config MyConfig
    this is the prescribed way

    #CONFIG
    cfg = _INTRC_OSC_NOCLKOUT
    cfg&= _WDT_ON
    cfg&= _PWRTE_OFF
    cfg&= _MCLRE_ON
    cfg&= _CP_OFF
    cfg&= _CPD_OFF
    cfg&= _BOD_ON
    cfg&= _IESO_ON
    cfg&= _FCMEN_ON
    __CONFIG cfg

    #ENDCONFIG
    or this

    #CONFIG
    __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_OFF & _MCLRE_ON & _CP_OFF & _CPD_OFF & _BOD_ON & _IESO_ON & _FCMEN_ON
    #ENDCONFIG
    Warning I'm not a teacher

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: 16F690 read/write

    Quote Originally Posted by richard View Post
    and I doubt your config setting is correct

    it could go like this , but why would you


    this is the prescribed way



    or this
    Sorry, that is my copy paste error.

Similar Threads

  1. SD Card Write/Read
    By Ioannis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th April 2014, 08:26
  2. PLEASE HELP...read write issues
    By nomad77 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 17th March 2011, 14:39
  3. Can't read an sms Using TC35i & 16F690
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 4th October 2009, 22:41
  4. I2C Read and Write
    By DerekMacom in forum mel PIC BASIC
    Replies: 14
    Last Post: - 21st April 2008, 15:44
  5. cannot read/write to 16F690 data memory after CPD_ON
    By awdsas in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd November 2006, 11:46

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