@@ -0,0 +1,1122 @@
+package com.uxxu.konashi.lib.util;%0A%0Aimport com.uxxu.konashi.lib.Konashi;%0A%0A/**%0A * Created by izumin on 9/16/15.%0A */%0Apublic final class PioUtils %7B%0A    private PioUtils() %7B%0A        throw new AssertionError(%22constructor of the utility class should not be called%22);%0A    %7D%0A%0A    public static boolean isValidPin(int pin) %7B%0A        return (pin %3E= Konashi.PIO0) && (pin %3C= Konashi.PIO7);%0A    %7D%0A%0A    public static boolean isValidMode(int mode) %7B%0A        return (mode == Konashi.OUTPUT) %7C%7C (mode == Konashi.INPUT);%0A    %7D%0A%0A    public static boolean isValidModes(int modes) %7B%0A        return (modes %3E= 0x00) && (modes %3C= 0xFF);%0A    %7D%0A%0A    public static boolean isValidPullup(int pullup) %7B%0A        return (pullup == Konashi.PULLUP) %7C%7C (pullup == Konashi.NO_PULLS);%0A    %7D%0A%0A    public static boolean isValidPullups(int pullups) %7B%0A        return (pullups %3E= 0x00) && (pullups %3C= 0xFF);%0A    %7D%0A%0A    public static boolean isValidOutput(int output) %7B%0A        return (output == Konashi.HIGH) %7C%7C (output == Konashi.LOW);%0A    %7D%0A%0A    public static boolean isValidOutputs(int outputs) %7B%0A        return (outputs %3E= 0x00) && (outputs %3C= 0xFF);%0A    %7D%0A%7D

Add PioUtils