~arcachofo/simulide/1.1.0

« back to all changes in this revision

Viewing changes to resources/examples/Pic/T0_IRQ_Pic16F628A/README

  • Committer: arcachofo
  • Date: 2021-01-01 14:23:42 UTC
  • Revision ID: arcachofo@simulide.com-20210101142342-ozfljnll44g5lbl3
Initial Commit 0.5.15-RC3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;**********************************************************************
 
2
; Filename: TMR0_IRQ.asm
 
3
; Date:  Nov. 11, 2013 
 
4
; Author: Lewis Loflin 
 
5
; Demonstrates how to use interrupts with TMR0                                                       
 
6
; State of LED on Ra0 is inverted by toggle every 61 interrupts
 
7
; PIC16F628A and 16 mHz crystal                                                     
 
8
;**********************************************************************
 
9
 
 
10
Set Pic Mhz to 16
 
11
 
 
12
Assembled with gpasm-0.13.7 (gputils): http://gputils.sourceforge.net/
 
13
    gpasm -L -w1 -i -ainhx32  T0_IRQ_Pic16F628A.asm 
 
14
 
 
15
Source and explanations about Pic16f628a Timer0:
 
16
    http://www.bristolwatch.com/PIC16F628A/a3.htm