gnupic: Re: [gnupic] real vs simulated for 16f88


Previous by date: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Scott Dattalo
Next by date: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Maxim Wexler
Previous in thread: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Scott Dattalo
Next in thread: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Maxim Wexler

Subject: Re: [gnupic] real vs simulated for 16f88
From: Scott Dattalo ####@####.####
Date: 19 Dec 2006 00:58:34 +0000
Message-Id: <45873933.3040206@dattalo.com>

Scott Dattalo wrote:
> Maxim Wexler wrote:
> 
> 
>>However in gpsim only RA0 to RA5 become active outputs. Why not RA6 and 
>>RA7?
>>Furthermore, RA5, according to the PDF, can never be an output and doubles
>>as MCLR.
> 
> 
> I took a look at this and you're correct. gpsim has two bugs here! I'll
> fix these shortly. 

I was wrong, there was only one bug here (and it's been fixed). RA5 now
is an input only pin. RA6 and RA7 are enabled by setting the config bits
properly. For example, add this line to your file:

        __CONFIG  _CONFIG1, _INTRC_IO

This tells gpsim that the internal RC oscillator is used and thus RA6
and RA7 are available for general purpose use.

Scott

Previous by date: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Scott Dattalo
Next by date: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Maxim Wexler
Previous in thread: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Scott Dattalo
Next in thread: 19 Dec 2006 00:58:34 +0000 Re: [gnupic] real vs simulated for 16f88, Maxim Wexler


Powered by ezmlm-browse 0.20.