private String getDigitalValues(int[] din) { StringBuffer sb = new StringBuffer(); for (int i = 0; i < 6; i++) sb.append("d[" + i + "]: " + din[i] + "\n"); return sb.toString(); }
private String getAnalogValues(int[] ain) { StringBuffer sb = new StringBuffer(); for (int i = 0; i < 5; i++) sb.append("a[" + i + "]: " + ain[i] + "\n"); return sb.toString(); }