Advertisement
KRITSADA

ATX2 Servo1 Position Test

Feb 7th, 2016
7,819
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. #include <ATX2.h>
  2. int x;
  3. void setup(){
  4.   OK();glcdClear();
  5. }
  6. void loop(){
  7.  x=knob(180);
  8.  servo(1,x);
  9.  glcd(1,1,"%d   ",x);  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement