Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ATX2.h>
- int x;
- void setup(){
- OK();
- glcdClear();
- servo(3,100);
- glcdMode(1);
- setTextSize(2);
- glcd(1,0,"Servo2:");
- setTextSize(5);
- }
- void loop(){
- x=knob(30,90);
- servo(2,x);
- glcd(1,0," %d ",x);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement