Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: PINSEL2 crashes everything

2005-08-03 by soren_t_hansen

--- In lpc2000@yahoogroups.com, Jim Parziale <nuncio.bitis@g...> wrote:
> Oops - now I did it ...
> Is this what you really meant?
> 
>  PINSEL2 = PINSEL2 & ((1 << 2) | (1 << 3));
 
This is the code that I've been trying now, but still it crashes. 

PINSEL2 = (PINSEL2 & ~(1 << 2)) & ~(1 << 3);

But I'll just leave it be since if I don't do anything it works ok :o)

/Søren

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.