Em 29/5/2010 03:29, Wouter van Ooijen escreveu: >> PORTD |=3D 1<<0; >> = > But *do google for "read modify write problem"*. The above line might = > *fail* on a PIC (with all compilers). > = But "LATD |=3D 1<<0" will always work on Enhanced-PIC16, PIC18, PIC24, dsPIC and PIC32 devices. Isaac __________________________________________________ Fale com seus amigos de gra=E7a com o novo Yahoo! Messenger = http://br.messenger.yahoo.com/ = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist