
Originally Posted by
Kenjones1935
AXICOM, part of TYCO, has a 15 page .pdf file giving the specs to their P2 V23079 Relay product line. No where does it say how, exactly, a latching relay works. It must be common knowledge except hereabouts.
I have never coded in BASIC. I know C and C++ and a few (if I could remember them) older languages. Today I wanted to see what is being INCLUDEd when at the beginning a program I see:
"include 'M16F88x.INC' ; PM header" see below.
Today my question is about PBP INCLUDE files. (see below example) Where are NOLIST and LIST and ifdef and XALL defined? Not, as far as I can find, in the smallish MicroEngineering Labs PICBASIC PRO Compiler booklet. Is there a more complete spec on the WEB? I assume there exists a well constructed public PBP library. Where do I find "intrc_osc_noclkout" (see below code)? When I was working each company I worked for maintained its own C libraries. Is that the way this world works?
;************************************************* ***************
;* 16F887.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2009 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 07/02/09 *
;* Version : 2.60 *
;* Notes : *
;************************************************* ***************
NOLIST
ifdef PM_USED
LIST
include 'M16F88x.INC' ; PM header
device pic16F887, intrc_osc_noclkout, wdt_on, mclr_on, lvp_off, protect_off
XALL
NOLIST
else
LIST
LIST p = 16F887, r = dec, w = -302
INCLUDE "P16F887.INC" ; MPASM Header
__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
NOLIST
endif
LIST
Hi Ken,
Those are assembly language instructions, find them in PIC data sheets.
Section 15.
Last edited by Archangel; - 16th January 2010 at 05:22.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks