protected static extern void bcm2835_gpio_set_pud(GPIOPins pin, GPIOResistor resistorMode);
public static void SetResistor(GPIOPins pin, GPIOResistor resistorMode) { bcm2835_gpio_set_pud(pin, resistorMode); }