func (p Pin) Set(value bool) {
	if value { // set bits
		port, mask := p.PortMaskSet()
		port.Set(mask)
	} else { // clear bits
		port, mask := p.PortMaskClear()
		port.Set(mask)
	}
}
// Set changes the value of the GPIO pin. The pin must be configured as output.
Set changes the value of the GPIO pin. The pin must be configured as output.
// Set changes the value of the GPIO pin . The pin must be configured as output .
func (p Pin) Set(value bool) {
	if value { 
		port, mask := p.PortMaskSet()
		port.Set(mask)
	} else { 
		port, mask := p.PortMaskClear()
		port.Set(mask)
	}
}
func ( p Pin ) Set ( value bool ) { if value { port , mask := p . PortMaskSet ( ) port . Set ( mask ) } else { port , mask := p . PortMaskClear ( ) port . Set ( mask ) } }
Set changes the value of the GPIO pin.
Set changes the value of the GPIO pin .
// set bits // clear bits