building own library with include-files?


Results 1 to 26 of 26

Threaded View

  1. #10
    Join Date
    Jan 2005
    Location
    Boston MA
    Posts
    19


    Did you find this post helpful? Yes | No

    Thumbs up

    Good to see this topic I thought I would add my 2cnts.

    Start with the hardware layer use my (your) standard names: LABX1_20
    Add chip layer ie DS1302, DS1620, one-wire: CLOCK1302
    Add util layer ie save_word_to_eeprom, get_last_temp_change: UTIL

    I also save these files in a include dir, so many projects can have access.
    Include "..\include\LABx1_20.inc"

    Since variables that need to be shared are shandard and internal variables are hidden like "__temp" then the actual project code is faster to code

    I am trying to make object programming without the objects.

    As you can see from my examples I break my own rules just to get the job done in time.

    Regards
    Tim
    Attached Files Attached Files
    Last edited by timc; - 19th September 2005 at 03:01.

Similar Threads

  1. Continuous Interrupts when using DT_INTS and an INCLUDE file
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 15th January 2010, 21:42
  2. Can't seem to add AllDigital to the include files
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th November 2009, 04:21
  3. Missing 16F882 family include files :-(
    By campmdabt in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th December 2007, 01:17
  4. include files 8k limit
    By skimask in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th January 2006, 06:35
  5. Replies: 2
    Last Post: - 13th December 2005, 00:11

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