Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <popx2.h> // POP-X2 Board
- word L,R,GP2;
- void setup() {
- setTextSize(2);glcdMode(3);
- }
- void loop() {
- L=analog(0);R=analog(1);GP2=analog(2);
- glcd(0,0,"L=%d ",L);
- glcd(1,0,"R=%d ",R);
- glcd(2,0,"GP2=%d ",GP2);
- }
Advertisement
Add Comment
Please, Sign In to add comment