How many variables I can use with PIC16F877A ?


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2013
    Posts
    1,078

    Default How many variables I can use with PIC16F877A ?

    Hello.

    I'm developing a complex control system, where 16 loads will be turned on and off according to specified conditions.

    In total, I'd have to use up to 40 BYTE variables and about 8 - WORD variables. Will this hardware allow such operation?

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default Re: How many variables I can use with PIC16F877A ?

    Hi,
    The 16F877A have 368 bytes of RAM. PBP needs around 24 for its own use so you're left with ~344 bytes for your own use which is about 6 times what you need. Yes that hardware will allow such operation.

    /Henrik.

  3. #3
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: How many variables I can use with PIC16F877A ?

    Thanks a lot!

Similar Threads

  1. Control de puertos PIC16F877A / Port Control PIC16F877A
    By martintorres in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th October 2013, 03:49
  2. IF - WHILE and variables
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th April 2009, 13:01
  3. Replies: 9
    Last Post: - 4th February 2008, 19:12
  4. Pic16f877a
    By JARI NETWORKS in forum mel PIC BASIC
    Replies: 8
    Last Post: - 16th December 2006, 19:30
  5. Help with using variables
    By jessey in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th June 2005, 16:03

Members who have read this thread : 1

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