Thank you very much! That means if I want to enable p0.9 then i would write 0x00000200 (0x0000 0000 0000 0000 0000 0010 0000 0000)...Am I right?? Then what for p1.25 or p3.4 or other pins? How would I initialize those pins in this way? Would you please send me a link where it is already explained? Thank you. --- In lpc2000@yahoogroups.com, "rtstofer" <rstofer@p...> wrote: > > > 0x00000100 represents 8 4-bit hex digits, 32 bits in all. The right > two digits represent the bits 0..7 so the 1 in the next digit is bit > 8 of 32 and it would set P0.8 to a 1. > > To clear P0.8 do: > > IO0CLR = 0x00000100; > > --- In lpc2000@yahoogroups.com, "mahbub1833" <fireball003@g...> > wrote: > > > > Hi, > > Very newbie problem. Sorry for that. > > > > > > IO0SET = 0x00000100; /* Turn LED Off (P0.8 = 1) */ > > > > > > I didn't get the 0x00000100 in datasheet. What does it mean? How > would > > I understand other pin configerations as well? Please tell this > newbie > > in details. > > > > Thanks in advance. > > >
Message
Re: KICK me a bit to START (LPC22xx)
2005-12-21 by mahbub1833
Attachments
- No local attachments were found for this message.