gnupic: Re: [gnupic] Not being able to use variables on pic18fxx50


Previous by date: 21 Aug 2008 23:41:47 -0000 Re: [gnupic] Not being able to use variables on pic18fxx50, Lope Vega
Next by date: 21 Aug 2008 23:41:47 -0000 Need on-line info re. register allocation, Chris Glur
Previous in thread: 21 Aug 2008 23:41:47 -0000 Re: [gnupic] Not being able to use variables on pic18fxx50, Lope Vega
Next in thread: 21 Aug 2008 23:41:47 -0000 Re: [gnupic] Not being able to use variables on pic18fxx50, Robert Pearce

Subject: Re: [gnupic] Not being able to use variables on pic18fxx50
From: Peter Stuge ####@####.####
Date: 21 Aug 2008 23:41:47 -0000
Message-Id: <20080821234034.15897.qmail@stuge.se>

On Thu, Aug 21, 2008 at 03:13:19PM +0000, Lope Vega wrote:
>         udata
> counter         res     1

Good so far.


>         code    0
>         pagesel main
>         goto main
> 
>         code

These lines should read:

	code
	org 0
	pagesel main
	goto main


A small note on the code:

> debounce
>         ;; has the switch been released?

This debounce is not really debouncing but the program will fall
through the code on the first bouncy switch press, making the LED
flash for only a few instructions which will not be noticeable to
the eye. :) You could capture the edge with an oscilloscope.


//Peter

Previous by date: 21 Aug 2008 23:41:47 -0000 Re: [gnupic] Not being able to use variables on pic18fxx50, Lope Vega
Next by date: 21 Aug 2008 23:41:47 -0000 Need on-line info re. register allocation, Chris Glur
Previous in thread: 21 Aug 2008 23:41:47 -0000 Re: [gnupic] Not being able to use variables on pic18fxx50, Lope Vega
Next in thread: 21 Aug 2008 23:41:47 -0000 Re: [gnupic] Not being able to use variables on pic18fxx50, Robert Pearce


Powered by ezmlm-browse 0.20.