summaryrefslogtreecommitdiff
path: root/blink-16F
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-02-11 02:01:23 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-02-11 02:01:23 +0000
commit7fbea996290ec399940e22c156e2583e76785e1c (patch)
treef03085a88a7f786d8e25edcb2909e9d5e6db4062 /blink-16F
parentadded blink code for new 18xx processor types (diff)
cleaned up blink-16F
git-svn-id: https://svn.spreadspace.org/pic/trunk@12 a09c6847-51d9-44de-8ef2-e725cf50f3c7
Diffstat (limited to 'blink-16F')
-rw-r--r--blink-16F/blink.asm11
1 files changed, 6 insertions, 5 deletions
diff --git a/blink-16F/blink.asm b/blink-16F/blink.asm
index 7696c0d..ba0d79a 100644
--- a/blink-16F/blink.asm
+++ b/blink-16F/blink.asm
@@ -22,15 +22,16 @@
;; -------------------------------------
;; PREAMBLE
- LIST p=16F877
- include "p16f877.inc"
- __config _CP_OFF & _WDT_OFF & _RC_OSC
+ LIST p=16F887
+ include "p16f887.inc"
+ __config _CONFIG1, _DEBUG_OFF & _LVP_OFF & _FCMEN_OFF & _IESO_OFF & _BOR_OFF & _CPD_OFF & _CP_OFF & _MCLRE_OFF & _PWRTE_OFF & _WDT_OFF & _INTOSCIO
+ __config _CONFIG2, _BOR21V & _WRT_OFF
;; -------------------------------------
;; DEFINES
-CNT0 EQU H'0030'
-CNT1 EQU H'0031'
+CNT0 EQU H'0020'
+CNT1 EQU H'0021'
;; -------------------------------------
;; OFFSET