12c508A -- Using more Legs...


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    14

    Default 12c508A -- Using more Legs...

    Alright guys,

    Please can somone tell me the @ config to allow me to use more legs on the 12c508A -- and to use the internal timer. So no other components are needed.

    I read on here that i can use a 12F675 to develop, then use 12c508a as main chips as they can only be writen once.


    Please can somone show me how to config the 12c508a to use 4 legs as outputs, and not need any other components.


    Many thanks.

    i use MicroCode Studio.

    Regards.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    If you want to develop for a 12C508A, then you should use a 12F508.

    The 12F675 is a 14-bit core device, and the 12F(C)508 are12-bit cores. There are several PBP commands that you can't use on 12-bit devices. And with only a 2 level hardware stack, you can't even use Gosub's. So developing using the 12F675 is not a good idea.

    PBP's default configuration for the 12C508A is ... Internal Oscillator, MCLR On.

    So there are already 5 pins available without changing anything. The only pin not available for general I/O is GP3/MCLR/VPP.
    DT

  3. #3
    Join Date
    Oct 2006
    Posts
    14

    Default

    Thanks for the reply!

    I will have to give it a go. I've only been trying with proteus sim, and it wouldnt let some of the legs work.

    All i really want to do is flash 3 led's in order, so i think a 12c508A should be ok for that. Maybe. haha.

    Thanks for the 12F508 idea! im glad i didnt make that mistake.

    Thanks again,

    Regards.

Similar Threads

  1. Code Protection
    By JoeEvert in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 26th May 2010, 19:46
  2. 5 Minute Crash Course On OOP
    By T.Jackson in forum Off Topic
    Replies: 2
    Last Post: - 28th March 2008, 07:13
  3. 12c508a Device Config. And Burning Issues
    By sayzer in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th March 2006, 16:50
  4. 12c508 @sleep command?
    By rtsandiego in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th January 2004, 06:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts