Hi,

Try
port1.out.pin0 = 1;

As defined in iostructures.h

Best Regards,
Jonas 

On Sat, 2006-02-11 at 01:22 +0000, John Pote wrote:
> Hi everyone,
>  
> Cann't find anything in the docs or header files on bit bashing except
> mask defs for each pin.
>  
> P0OUT |= P0OUT_0 and P0OUT &= ~P0OUT_0 certainly work but seem very
> verbose for bit bashing a single pin.
>  
> Is there a clearer way? I'd like to be able to write something like
> P0OUT.0 = 1;.
>  
> Keep the good work up,
>  
> John Pote
>  
>  


Reply via email to