Shop OBEX P1 Docs P2 Docs Learn Events
value off pin — Parallax Forums

value off pin

dracodraco Posts: 4
edited 2011-02-13 16:32 in Accessories
import stamp.core.*;
public class PulseClass1 {
static int n;
public static void main() {
while (true) {
System.out.println(CPU.readPin(CPU.pin5)); //need value not bolean
}
}
}

need value 0-255 and i dont remember the syntax
Sign In or Register to comment.