PIC16F676 Troubles


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116

    Unhappy PIC16F676 Troubles

    Hi,

    I am having trouble trying to use this pic. I have version 2.33 of PBP. This is the code:

    define OSC 20
    define adc_bits 10
    define adc_sampleus 50
    ANSEL = 1 'channel 0 analog all others digital
    ADCON0 = 129 'a/d control register setup
    ADCON1 = 96 'fosc/64

    ctrlv var porta.0

    But i get an error when compiling at the ANSEL line.
    Am i going to have to upgrade to the latest version of PBP to use this pic (hope not im skint) or am i doing somthing wrong?

    I wish to use 20MHz osc, external MCLR, a/d on porta.0, all other pins digital.

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


    Did you find this post helpful? Yes | No

    Talking 10 Years after ( or so )

    Hi Bob,

    I'm not sure at all PBP 2.33 supports this new processor ...
    and you' ll have to buy an upgrade ...

    or is it an "old" 16 F 876 processor ???

    Alain

  3. #3
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    Hi Alain,

    I have established that I do need a new version to use this pic. Not as pricey as I expected. less than 20 english pounds. If I can get confirmation of purchase from ME Labs that is. Although already having upgraded from PBC I will have paid a total of £320 for PBP (£500 if i cant get any proof of purchase). Not Happy!!!! Am asking myself if it was really worth it. Could have just percevered a little & learned to use assembly at a cost of £0...

    Regards

    Bob...
    Last edited by BobEdge; - 23rd February 2005 at 15:12.

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


    Did you find this post helpful? Yes | No

    Unhappy

    I know PicBasicPro is not really given, but I can say one thing: I'd never been using pics for my model planes without it, The result is always as I hope ...
    Other Cheaper Basics do not offer so much functions and an open library like this;
    also Remember you can add the functions you write to the lib ... better than sub's.

    Great tool, no lost time in developpement nor debugging ...

    You pay for this saved time ... for NO BUGS , and for MPLAB entire compatibility ...

    Remember: on the web, things mostly offer you what you've paid for ...

    Alain

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


    Did you find this post helpful? Yes | No

    Question

    Hi bob,

    You pay in £ ... what about www.selectronic.fr ( licensed distributor ) for PBP ...
    costs 265 Euros, update 23 Euros

    Have a look to !

    Alain

  6. #6
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    Thanks Alain, but i do have a uk distributor. Just need the proof of purchase from ME Labs, I cant find the original invoice. In the past you only had to fax them a photocopy of the manual front cover. But I guess there has been much piracy, so now you need a copy of the invoice...

    Bob...

Similar Threads

  1. Plz give me working of timers in PIC16F676
    By Vishal Raut in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 4th July 2007, 16:58
  2. PIC16F676 Problem
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 19th April 2007, 16:05
  3. Interfacing RTC (DS1302) with pic16F676
    By Andrew_A in forum Off Topic
    Replies: 1
    Last Post: - 14th February 2006, 08:49
  4. LCD Problem witch PIC16F676
    By microuser in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th August 2005, 08:11
  5. PIC16F676 I/O Problems.
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2005, 16:37

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