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