How to use symbolic names for bits within registers?


Results 1 to 3 of 3

Threaded View

  1. #3
    Join Date
    Dec 2009
    Location
    Edmonton AB Canada
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Sorry for the late reply - just back from a short (too short!) vacation.

    Actually, Darrel, what you posted helps a lot. Again, I'm going through PBP code written by others and trying to make it both more easily maintainable as well as easier to read. The suggestion you made does exactly that - gives me a single place where I can make the changes needed when switching between different PICs.

    I don't think that I can use ADCIN - I *think* that program execution halts while waiting for the ADC result and I can't tolerate the delay.

    I'm avoiding adding my own ASM stuff for now, at least until I get a better sense of the landscape.

    Many thanks!

    dwayne
    Last edited by DwayneR; - 17th December 2009 at 04:23.

Similar Threads

  1. LCD's with Shift Registers, and LCDOUT
    By Darrel Taylor in forum PBP Extensions
    Replies: 11
    Last Post: - 3rd April 2015, 14:34
  2. Replies: 1
    Last Post: - 2nd November 2006, 23:24
  3. Use the PIC 16f877 or 877A instead of shift registers.
    By tsanders in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th October 2006, 17:23
  4. Set the UCFG register or registers in general
    By eDub in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 23rd July 2006, 19:46
  5. Problem with communications & registers and LCD
    By mpavlica in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th December 2004, 09:38

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